class PhpDumper extends Dumper
PhpDumper dumps a service container as a PHP class.
FIRST_CHARS | Characters that might appear in the generated variable name as first character. |
NON_FIRST_CHARS | Characters that might appear in the generated variable name as any but the first character. |
protected | $container | from Dumper |
__construct(ContainerBuilder $container) | ||
setProxyDumper(DumperInterface $proxyDumper) Sets the dumper to be used when dumping proxies in the generated container. | ||
string | dump(array $options = array()) Dumps the service container as a PHP class. |
ContainerBuilder | $container |
Sets the dumper to be used when dumping proxies in the generated container.
DumperInterface | $proxyDumper |
Dumps the service container as a PHP class.
Available options:
array | $options | An array of options |
string | The representation of the service container |
EnvParameterException | When an env var exists but has not been dumped |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Dumper/PhpDumper.html