Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
/ container Public archive
generated from spaceonfire/skeleton

2.4.0

Compare
Choose a tag to compare
@hustlahusky hustlahusky released this 19 Dec 18:06

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 with spaceonfire\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.