Method | Description | |
---|---|---|
__construct ( string $name = null ) | Creates a new PHP trait | |
fromFile ( string $filename ) : |
Creates a PHP trait from a file | |
fromReflection ( ReflectionClass $ref ) : |
Creates a PHP trait from reflection | |
generateDocblock ( ) |
public __construct ( string $name = null ) | ||
$name | string | qualified name |
public static fromReflection ( ReflectionClass $ref ) : |
||
$ref | ReflectionClass | |
return |