Skip to content

Releases: semperton/container

3.0.0

Choose a tag to compare

@jrabausch jrabausch released this 02 Jan 15:31
  • PHP >= 8.0 required
  • Removed callable factory support
  • Added support for delegate container
  • Restricted resolving of params by name to factory functions
  • Added withAutowiring, withDelegate and withEntry methods
  • create now supports substituting of factory params

2.3.0

Choose a tag to compare

@jrabausch jrabausch released this 09 Aug 13:29
  • Fixed missing params in factory resolving
  • create() no longer returns resolved entries

2.2.0

Choose a tag to compare

@jrabausch jrabausch released this 29 Jun 20:20
  • Container::create now also resolves factories
  • Container implements FactoryInterface

2.1.0

Choose a tag to compare

@jrabausch jrabausch released this 23 Jun 11:36
  • Using parameter names instead of index for create method

2.0.0

Choose a tag to compare

@jrabausch jrabausch released this 23 Jun 09:45
  • Callables are now allowed as factories
  • Added "create" method
  • Automatic built-in parameter resolution for definition factories and class constructors
  • Revert back using psr/container 1.0

1.1.1

Choose a tag to compare

@jrabausch jrabausch released this 11 Jun 14:35
  • Added function imports

1.1.0

Choose a tag to compare

@jrabausch jrabausch released this 22 Apr 20:57
  • Added autowire option

1.0.1

Choose a tag to compare

@jrabausch jrabausch released this 09 Mar 21:53
  • PSR-11 update

1.0.0

Choose a tag to compare

@jrabausch jrabausch released this 23 Jan 09:42
  • PSR-11 compatibility
  • Container is immutable