Releases: filecage/creator
Releases · filecage/creator
0.9.0
Changes in 0.9.0
- Fixes incorrect caching of anonymous classes that have been created in factories
- Allows registering a class resource with multiple resource keys (
->registerClassResource($instance, 'Foo', 'Bar', 'Baz')
)
0.8.2
Changes in 0.8.2
- Fixes
\ReflectionException
when trying to invoke class instance that implements magic __invoke
method
0.8.1
Changes in 0.8.1
- Fixes a bug where creating an interface or abstract instance via a pre-registered factory would not be read from cache
0.8.0
Changes in 0.8.0
- Added support for factory pre-registration
0.7.0
Changes in 0.7.0
- All exceptions now derive from
Creator\Exceptions\CreatorException
0.6.0
Changes in 0.6.0
- Uninstantiable dependencies can now be resolved with any instance implementing the depending interface
0.5.0
Changes in 0.5.0
- Creations or Invocations can now be injected with primitive (scalar) resources
0.4.1
Changes in 0.4.1
- Now throws exception if trying to invoke array callable without object at index 0
- Renamed invokeWith to invokeInjected to follow naming convention of create methods
0.4.0
Changes in 0.4.0
- Added support for closures and method-context callables
- Added two new public methods: invoke and invokeWith, using a callable (closure or method context callable). Behaviour following the already existing methods: create and createWith
0.3.2
Changes in 0.3.2
- Additional changes in creation when
$forceInstance
is true to fully restore class resource registry behaviour of 0.2.0