Skip to content

Releases: filecage/creator

0.9.0

16 May 13:17
Compare
Choose a tag to compare

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

07 Mar 16:05
Compare
Choose a tag to compare

Changes in 0.8.2

  • Fixes \ReflectionException when trying to invoke class instance that implements magic __invoke method

0.8.1

24 Jan 12:52
1562885
Compare
Choose a tag to compare

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

09 Jul 13:19
dfaab07
Compare
Choose a tag to compare

Changes in 0.8.0

  • Added support for factory pre-registration

0.7.0

29 Jun 16:33
Compare
Choose a tag to compare

Changes in 0.7.0

  • All exceptions now derive from Creator\Exceptions\CreatorException

0.6.0

08 Oct 20:40
Compare
Choose a tag to compare

Changes in 0.6.0

  • Uninstantiable dependencies can now be resolved with any instance implementing the depending interface

0.5.0

15 Sep 16:58
Compare
Choose a tag to compare

Changes in 0.5.0

  • Creations or Invocations can now be injected with primitive (scalar) resources

0.4.1

13 Apr 13:08
Compare
Choose a tag to compare

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

13 Apr 12:44
Compare
Choose a tag to compare

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

22 Feb 14:06
Compare
Choose a tag to compare

Changes in 0.3.2

  • Additional changes in creation when $forceInstance is true to fully restore class resource registry behaviour of 0.2.0