Aura PHP v3.0.0 Release Notes
Release Date: 2016-03-14 // about 8 years ago-
๐ This is the second beta release of this library, and likely the last before a stable release (barring unexpected feature changes and bugfixes).
(BRK) Container methods
newInstance()
andget()
now lock the Container automatically. (See note below.)(CHG)
$di->params
now allowsnull
as a parameter value.(ADD) ContainerConfigInterface
๐ป (ADD) Better exception messages.
๐ (DOC) Add and update documentation.
Regarding auto-locking of the Container after
newInstance()
andget()
:This prevents errors from premature unification of params/setters/values/etc. in the Resolver. As a result, do not use Container
newInstance()
orget()
before you are finished calling$params
,$setters
,$values
,set()
, or other methods that modify the Container. Use thelazy*()
equivalents to avoid auto-locking the Container.