Symfony\Component\HttpKernel\Kernel::dumpContainer
Dumps the service container to PHP code in the cache.
Signature
protected function dumpContainer(ConfigCache
$cache,
ContainerBuilder
$container,
string
$class,
string
$baseClass )
Parameters
$cache
— Symfony\Component\Config\ConfigCache- The config cache
$container
— Symfony\Component\DependencyInjection\ContainerBuilder- The service container
$class
— string- The name of the class to generate
$baseClass
— string- The name of the container's base class