class PhpGenerator

Container PHP code generator.

Methods

__construct(ContainerBuilder $builder)

No description

ClassType[]
generate($className)

Generates PHP classes. First class is the container.

string
formatPhp($statement, $args)

Formats PHP statement.

Details

at line 35
__construct(ContainerBuilder $builder)

No description

Parameters

ContainerBuilder $builder

at line 45
ClassType[] generate($className)

Generates PHP classes. First class is the container.

Parameters

$className

Return Value

ClassType[]

at line 231
string formatPhp($statement, $args)

internal  
 

Formats PHP statement.

Parameters

$statement
$args

Return Value

string