Provides a Dependency Injection Service Container for PHP
BSD-3-CLAUSE License
Full Changelog: https://github.com/ghostwriter/container/compare/4.0.1...4.0.2
Published by ghostwriter 4 months ago
Full Changelog: https://github.com/ghostwriter/container/compare/4.0.0...4.0.1
Published by ghostwriter 4 months ago
Inject
attribute.Factory
attribute.Extension
attribute.Full Changelog: https://github.com/ghostwriter/container/compare/3.0.3...4.0.0
Published by ghostwriter 7 months ago
Full Changelog: https://github.com/ghostwriter/container/compare/3.0.2...3.0.3
Published by ghostwriter 8 months ago
Extensions will be called if the $serviceName
matches the $className
or is an instance of $serviceName
Full Changelog: https://github.com/ghostwriter/container/compare/3.0.1...3.0.2
Published by ghostwriter 9 months ago
Returns $this
when requested for an instance of Ghostwriter\Container\Interface\ContainerInterface
Full Changelog: https://github.com/ghostwriter/container/compare/3.0.0...3.0.1
Published by ghostwriter 9 months ago
invoke()
was added to interface Ghostwriter\Container\Interface\ContainerInterface
Ghostwriter\Container\Instantiator#__construct()
increased from 0 to 2$reflector
of Ghostwriter\Container\Instantiator#construct()
was added$parameterBuilder
of Ghostwriter\Container\Instantiator#construct()
was added$container
of Ghostwriter\Container\ParameterBuilder#construct()
was addedParameterBuilder
resolves positional argumentsGhostwriter\Container\Instantiator#buildParameters()
was removed$container
of Ghostwriter\Container\Instantiator#instantiate()
was removed$container
of Ghostwriter\Container\ParameterBuilder#build()
was removedFull Changelog: https://github.com/ghostwriter/container/compare/2.0.1...3.0.0
Published by ghostwriter 12 months ago
factory
to register a service factory
Build
resolves aliasesParameterBuilder
resolves default/nullable values from the containerExtend
supports service name and service typeFull Changelog: https://github.com/ghostwriter/container/compare/2.0.0...2.0.1
Published by ghostwriter 12 months ago
Full Changelog: https://github.com/ghostwriter/container/compare/1.6.0...2.0.0
Published by ghostwriter over 1 year ago
codecov
by @ghostwriter in https://github.com/ghostwriter/container/pull/22
Full Changelog: https://github.com/ghostwriter/container/compare/1.5.0...1.6.0
Published by ghostwriter over 1 year ago
Reflector
by @ghostwriter in https://github.com/ghostwriter/container/pull/19
Container
by @ghostwriter in https://github.com/ghostwriter/container/pull/20
Full Changelog: https://github.com/ghostwriter/container/compare/1.4.0...1.5.0
Published by ghostwriter over 1 year ago
Full Changelog: https://github.com/ghostwriter/container/compare/1.3.0...1.4.0
Published by ghostwriter almost 2 years ago
invoke
method by @ghostwriter in https://github.com/ghostwriter/container/pull/16
Full Changelog: https://github.com/ghostwriter/container/compare/1.2.0...1.3.0
Published by ghostwriter almost 2 years ago
Full Changelog: https://github.com/ghostwriter/container/compare/1.1.1...1.2.0
Published by ghostwriter almost 2 years ago
Full Changelog: https://github.com/ghostwriter/container/compare/1.1.0...1.1.1
Published by ghostwriter almost 2 years ago
Full Changelog: https://github.com/ghostwriter/container/compare/1.0.0...1.1.0
Published by ghostwriter about 2 years ago
Full Changelog: https://github.com/ghostwriter/container/compare/0.7.0...1.0.0
Published by ghostwriter about 2 years ago
Provides a PSR 11 Container Implementation
Full Changelog: https://github.com/ghostwriter/container/compare/0.6.0...0.7.0
Published by ghostwriter over 2 years ago
register
method by @ghostwriter in https://github.com/ghostwriter/container/pull/12
Full Changelog: https://github.com/ghostwriter/container/compare/0.5.0...0.6.0
Published by ghostwriter over 2 years ago
phpunit.xsd
schema in vendor
directory by @ghostwriter in https://github.com/ghostwriter/container/pull/8
Full Changelog: https://github.com/ghostwriter/container/compare/0.4.0...0.5.0