메소드 | 설명 | |
---|---|---|
__construct ( |
||
formatPhp ( $statement, $args ) : string | Formats PHP statement. | |
generate ( $className ) : |
Generates PHP classes. First class is the container. |
메소드 | 설명 | |
---|---|---|
convertParameters ( array $parameters ) : |
Converts parameters from ServiceDefinition to PhpGenerator. | |
formatStatement ( |
Formats PHP code for class instantiating, function calling or property setting in PHP. | |
generateService ( $name ) : string | Generates body of service method. |
public generate ( $className ) : |
||
리턴 |