W3cubDocs

/Drupal 8

protected property Container::$frozen

Whether the container parameters can still be changed.

For testing purposes the container needs to be changed.

Type: bool

File

core/lib/Drupal/Component/DependencyInjection/Container.php, line 104

Class

Container
Provides a container optimized for Drupal's needs.

Namespace

Drupal\Component\DependencyInjection

Code

protected $frozen = TRUE;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!DependencyInjection!Container.php/property/Container::frozen/8.1.x