private function PhpDumper::dumpLiteralClass in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Dumper/PhpDumper.php \Symfony\Component\DependencyInjection\Dumper\PhpDumper::dumpLiteralClass()
Dumps a string to a literal (aka PHP Code) class value.
Parameters
string $class:
Return value
string
2 calls to PhpDumper::dumpLiteralClass()
- PhpDumper::addNewInstance in vendor/
symfony/ dependency-injection/ Dumper/ PhpDumper.php - PhpDumper::addServiceConfigurator in vendor/
symfony/ dependency-injection/ Dumper/ PhpDumper.php - Adds configurator definition.
File
- vendor/
symfony/ dependency-injection/ Dumper/ PhpDumper.php, line 1392
Class
- PhpDumper
- PhpDumper dumps a service container as a PHP class.
Namespace
Symfony\Component\DependencyInjection\DumperCode
private function dumpLiteralClass($class) {
return '\\' . substr(str_replace('\\\\', '\\', $class), 1, -1);
}