Skip to content

@philipobenito philipobenito released this Sep 28, 2020 · 1 commit to 3.x since this release

Fixed

  • Fixed bug relating to ReflectionContainer::call on arrow functions.
Assets 2

@philipobenito philipobenito released this Sep 26, 2020 · 16 commits to 3.x since this release

Added

  • Experimental support for PHP 8.

Fixed

  • Fix issue when preventing reflection from using default value for arguments.
Assets 2

@philipobenito philipobenito released this May 18, 2020

3.3.1

Fixed

  • Respect $new argument when getting tagged definitions.
Assets 2

@philipobenito philipobenito released this Jun 30, 2019

3.3.0

Added

  • Support for PHP 7.3
  • {set,get}LeagueContainer methods added to ContainerAwareTrait as a temporary measure until next major release when this can be properly addressed, less hinting of Psr\Container\ContainerInterface

Changed

  • Various internal code improvements

Fixed

  • Fix for setConcrete not re-resolving class on when overriding (@jleeothon)
  • Fix stack overflow error incase a service provider lies about providing a specific service (@azjezz)
  • Fix issue where providers may be aggregated multiple times (@bwg)
  • Various documentation fixes
Assets 2

@philipobenito philipobenito released this Sep 28, 2018

3.2.2

Fixed

  • Fixed issue that prevented service providers from registering if a previous one in the aggregate was already registered.
Assets 2

@philipobenito philipobenito released this Sep 21, 2018

3.2.1

Fixed

  • Fixed issue where all service providers were registered regardless of whether they need to be.
Assets 2

@philipobenito philipobenito released this Aug 13, 2018 · 87 commits to 3.x since this release

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)

Assets 2

@philipobenito philipobenito released this Aug 12, 2018 · 96 commits to 3.x since this release

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.
Assets 2

@philipobenito philipobenito released this Jul 25, 2018 · 100 commits to 3.x since this release

3.0.1

Added

  • Allow definition aggregates to be built outside of container.
Assets 2

@philipobenito philipobenito released this Jul 23, 2018 · 104 commits to 3.x since this release

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.
Assets 2
You can’t perform that action at this time.