BaseCodeGenerator
class BaseCodeGenerator
BaseCodeGenerator class.
Properties
protected string | $defaultLocale |
Methods
__construct(string $defaultLocale)
BaseCodeGenerator constructor.
generate(array $params)
No description
render(Node $node)
Returns a rendered node.
convertToStudlyCaps(string $name)
Converts a string to StudlyCaps.
Use_[]
generateUses(array $classes)
No description
generateCommentAttributes(string $comment)
No description
Details
at line 33
__construct(string $defaultLocale)
BaseCodeGenerator constructor.
at line 38
abstract
generate(array $params)
at line 43
protected
render(Node $node)
Returns a rendered node.
at line 66
protected
convertToStudlyCaps(string $name)
Converts a string to StudlyCaps.