php-code-generator
php-code-generator copied to clipboard
how to set extends
HI, brother, how to set extends class . have this api?
Use setParentClassName('Action')
:
$class = new PhpClass('MyAction');
$class->setParentClassName('Action');