Whether to serialize service definitions or not.
Service definitions are serialized by default to avoid having to unserialize the whole container on loading time, which improves early bootstrap performance for e.g. the page cache.
Type: bool
protected $serialize = 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!Dumper!OptimizedPhpArrayDumper.php/property/OptimizedPhpArrayDumper::serialize/8.1.x