Compiler::subcompile()

subcompile(Node $node) Parameters Node $node

Compiler::reset()

reset()

Compiler::repr()

Compiler repr(mixed $value) Returns a PHP representation of a given value. Parameters mixed $value The value to convert Return Value Compiler The current compiler instance

CompilerDebugDumpPass

class CompilerDebugDumpPass implements CompilerPassInterface Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. static getCompilerLogFilename(ContainerInterface $container) Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container static getCompilerLogFile

Compiler::getServiceReferenceGraph()

ServiceReferenceGraph getServiceReferenceGraph() Returns the ServiceReferenceGraph. Return Value ServiceReferenceGraph The ServiceReferenceGraph instance

Compiler::raw()

Compiler raw(string $string) Adds a raw string to the compiled code. Parameters string $string The string Return Value Compiler The current compiler instance

Compiler::getPassConfig()

PassConfig getPassConfig() Returns the PassConfig. Return Value PassConfig The PassConfig instance

Compiler::getLoggingFormatter()

LoggingFormatter getLoggingFormatter() Returns the logging formatter which can be used by compilation passes. Return Value LoggingFormatter

Compiler::getSource()

string getSource() Gets the current PHP code after compilation. Return Value string The PHP code

Compiler::getFunction()

getFunction($name) Parameters $name