Releases: ghostwriter/container
Releases · ghostwriter/container
4.0.3
Full Changelog: 4.0.2...4.0.3
4.0.2
Full Changelog: 4.0.1...4.0.2
4.0.1
Full Changelog: 4.0.0...4.0.1
4.0.0
Added
- Registering a service on the container using
Inject
attribute. - Registering a service factory on the container using
Factory
attribute. - Registering a service extension on the container using
Extension
attribute.
Full Changelog: 3.0.3...4.0.0
3.0.3
Full Changelog: 3.0.2...3.0.3
3.0.2
Extensions will be called if the $serviceName
matches the $className
or is an instance of $serviceName
Full Changelog: 3.0.1...3.0.2
3.0.1
Returns $this
when requested for an instance of Ghostwriter\Container\Interface\ContainerInterface
Full Changelog: 3.0.0...3.0.1
3.0.0
Added
- Method
invoke()
was added to interfaceGhostwriter\Container\Interface\ContainerInterface
Changed
- The number of required arguments for
Ghostwriter\Container\Instantiator#__construct()
increased from 0 to 2 - Parameter
$reflector
ofGhostwriter\Container\Instantiator#construct()
was added - Parameter
$parameterBuilder
ofGhostwriter\Container\Instantiator#construct()
was added - Parameter
$container
ofGhostwriter\Container\ParameterBuilder#construct()
was added
Fixed
ParameterBuilder
resolves positional arguments
Removed
- Method
Ghostwriter\Container\Instantiator#buildParameters()
was removed - Parameter
$container
ofGhostwriter\Container\Instantiator#instantiate()
was removed - Parameter
$container
ofGhostwriter\Container\ParameterBuilder#build()
was removed
Full Changelog: 2.0.1...3.0.0
2.0.1
- Add
factory
to register aservice factory
Build
resolves aliasesParameterBuilder
resolves default/nullable values from the containerExtend
supports service name and service type
Full Changelog: 2.0.0...2.0.1
2.0.0
What's Changed
- V2 by @ghostwriter in #30
- Update CHANGELOG.md by @ghostwriter in #31
Full Changelog: 1.6.0...2.0.0