PHP Class ZF2rapid\Generator\CrudGenerator\InputFilterFactoryGenerator

Inheritance: extends Zend\Code\Generator\ClassGenerator
Show file Open project: zfrapid/zf2rapid Class Usage Examples

Protected Properties

Property Type Description
$config array
$foreignKeys array
$loadedTable array

Public Methods

Method Description
__construct ( string $className, string $moduleName, string $namespaceName, string $tableName, array $loadedTable = [], array $config = [] )

Protected Methods

Method Description
addClassDocBlock ( string $className ) Add a class doc block
addCreateServiceMethod ( string $className, string $moduleName ) Generate the create service method

Method Details

__construct() public method

public __construct ( string $className, string $moduleName, string $namespaceName, string $tableName, array $loadedTable = [], array $config = [] )
$className string
$moduleName string
$namespaceName string
$tableName string
$loadedTable array
$config array

addClassDocBlock() protected method

Add a class doc block
protected addClassDocBlock ( string $className )
$className string

addCreateServiceMethod() protected method

Generate the create service method
protected addCreateServiceMethod ( string $className, string $moduleName )
$className string
$moduleName string

Property Details

$config protected property

protected array $config
return array

$foreignKeys protected property

protected array $foreignKeys
return array

$loadedTable protected property

protected array $loadedTable
return array