ClassCreator
in package
Class creator.
Creates specific class in current environment.
Tags
Table of Contents
- $generator : mixed
- __construct() : mixed
- Initializes creator.
- create() : mixed
- Creates class.
Properties
$generator
private
mixed
$generator
Methods
__construct()
Initializes creator.
public
__construct([ClassCodeGenerator $generator = null ]) : mixed
Parameters
- $generator : ClassCodeGenerator = null
Return values
mixed —create()
Creates class.
public
create(string $classname, ClassNode $class) : mixed
Parameters
- $classname : string
- $class : ClassNode