This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
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.