Property | Type | Description | |
---|---|---|---|
$baseHydrator | string | ||
$config | array |
Method | Description | |
---|---|---|
__construct ( array $config = [], string $baseHydrator = 'ClassMethods' ) | ||
build ( string $className, string $moduleName ) | Build the class |
Method | Description | |
---|---|---|
addClassDocBlock ( string $className, string $moduleName ) | Add a class doc block | |
addExtractMethod ( ) | Generate an extract method | |
addHydrateMethod ( ) | Generate an hydrate method |
public __construct ( array $config = [], string $baseHydrator = 'ClassMethods' ) | ||
$config | array | |
$baseHydrator | string |
protected addClassDocBlock ( string $className, string $moduleName ) | ||
$className | string | |
$moduleName | string |