@philipobenito philipobenito released this Aug 13, 2018 · 1 commit to master since this release

Assets 2

3.2.0

Added

  • Added ability to add definition as not shared when container is set to default to shared.
  • Added {set|get}Concrete to definitions to allow for better use of extend.

(Thanks to @jenssegers for these)

@philipobenito philipobenito released this Aug 12, 2018 · 10 commits to master since this release

Assets 2

3.1.0

Added

  • Re-added the share proxy method that was mistakenly removed in previous major release.
  • Added ability to set Conatiner to "share" by default using defaultToShared method.
  • Added ability for ReflectionContainer to cache resolutions and pull from cache for following calls.

@philipobenito philipobenito released this Jul 25, 2018 · 14 commits to master since this release

Assets 2

3.0.1

Added

  • Allow definition aggregates to be built outside of container.

@philipobenito philipobenito released this Jul 23, 2018 · 18 commits to master since this release

Assets 2

3.0.0

Added

  • Service providers can now be pulled from the container if they are registered.
  • Definition logic now handled by aggregate for better separation.
  • Now able to add tags to a definition to return an array of items containing that tag.

Changed

  • Updated minimum PHP requirements to 7.0.
  • Now depend directly on PSR-11 interfaces, including providing PSR-11 exceptions.
  • Refactored inflector logic to accept type on construction and use generator to iterate.
  • Refactored service provider logic with better separation and performance.
  • Merged service provider signature logic in to one interface and abstract.
  • Heavily simplified definition logic providing more control to user.

@philipobenito philipobenito released this May 10, 2017 · 79 commits to master since this release

Assets 2

Fixed

  • Ensures ReflectionContainer converts class name in array callable to object.

@philipobenito philipobenito released this Mar 6, 2017 · 80 commits to master since this release

Assets 2

Changed

  • Can now wrap shared objects as RawArgument.
  • Ability to override shared items.

Fixed

  • Booleans now recognised as accepted values.
  • Various docblock fixes.
  • Unused imports removed.
  • Unreachable arguments no longer passed.

@philipobenito philipobenito released this Mar 6, 2017 · 92 commits to master since this release

Assets 2

Added

  • Now implementation of the PSR-11.

@philipobenito philipobenito released this Mar 17, 2016 · 108 commits to master since this release

Assets 2

Changed

  • Service providers can now be added multiple times by giving them a signature.

@philipobenito philipobenito released this Mar 15, 2016 · 113 commits to master since this release

Assets 2

Added

  • Allow resolving of RawArgument objects as first class dependencies.

Changed

  • Unnecessary recursion removed from Container::get.

@philipobenito philipobenito released this Sep 7, 2015 · 122 commits to master since this release

Assets 2

Fixed

  • Bug where delegating container was not passed to delegate when needed.
  • Bug where Container::extend would not return a shared definition to extend.