Method | Description | |
---|---|---|
__construct ( string $name = null ) | Creates a new PHP class | |
fromFile ( string $filename ) : |
Creates a PHP class from file | |
fromReflection ( ReflectionClass $ref ) : |
Creates a PHP class from reflection | |
generateDocblock ( ) | ||
getParentClassName ( ) : string | Returns the parent class name | |
setParentClassName ( string | null $name ) | Sets the parent class name |
public __construct ( string $name = null ) | ||
$name | string | the qualified name |
public static fromReflection ( ReflectionClass $ref ) : |
||
$ref | ReflectionClass | |
return |
public getParentClassName ( ) : string | ||
return | string |
public setParentClassName ( string | null $name ) | ||
$name | string | null | the new parent |