This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
Releases: spaceonfire/container
Releases · spaceonfire/container
2.4.1
2.4.0
Added
spaceonfire\Container\RawValueHolder
class added and can be used for definition of concrete value.null
used as default value for parameters that allows it.
Deprecated
- Class
spaceonfire\Container\Argument\ArgumentValue
replaced withspaceonfire\Container\RawValueHolder
. Class alias
provided for backwards compatibility, but will be removed in next major release. ContainerAwareInterface::setContainer()
should not be considered to return$this
. It will be void in next major
release.
Fixed
- Reflection factory now does not try to instantiate abstract classes.
spaceonfire\Container\Exception\CannotInstantiateAbstractClassException
threw instead. - Argument resolves with default value for abstract classes when available.
2.3.0
2.2.0
Deprecated
- Class
spaceonfire\Container\ContainerChain
renamed tospaceonfire\Container\CompositeContainer
.
This name clearly describes what this class does and just fits best.
Class alias provided for backwards compatibility, but will be removed in next major release.
2.1.1
2.1.0
v2.0.1
v2.0.0
Added
ArgumentResolver
class as default implementation ofResolverInterface
ReflectionFactory
class creates instance of any existing class and resolve constructor argumentsReflectionInvoker
class calls any given callable with resolved argumentsReflectionContainer
class acts like factory for any existing class
Removed
Container
class does not manage any existing class no moreContainer
class does not implementsResolverInterface
no more- Removed
AbstractContainerDecorator
class
First release
1.0.0 1.0.0