PHP Class ZF2rapid\Generator\CrudGenerator\DataFormFactoryGenerator

Inheritance: extends Zend\Code\Generator\ClassGenerator
Afficher le fichier Open project: zfrapid/zf2rapid Class Usage Examples

Protected Properties

Свойство Type Description
$config array
$foreignKeys array

Méthodes publiques

Méthode Description
__construct ( string $className, string $moduleName, string $entityModule, string $entityClass, array $loadedTables = [], array $config = [] )

Méthodes protégées

Méthode Description
addClassDocBlock ( string $className ) Add a class doc block
addCreateServiceMethod ( string $className, string $moduleName, string $entityModule, string $entityClass ) Generate the create service method
filterCamelCaseToUnderscore ( string $text ) : string Filter camel case to underscore
filterUnderscoreToCamelCase ( string $text ) : string Filter camel case to underscore

Method Details

__construct() public méthode

public __construct ( string $className, string $moduleName, string $entityModule, string $entityClass, array $loadedTables = [], array $config = [] )
$className string
$moduleName string
$entityModule string
$entityClass string
$loadedTables array
$config array

addClassDocBlock() protected méthode

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

addCreateServiceMethod() protected méthode

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

filterCamelCaseToUnderscore() protected méthode

Filter camel case to underscore
protected filterCamelCaseToUnderscore ( string $text ) : string
$text string
Résultat string

filterUnderscoreToCamelCase() protected méthode

Filter camel case to underscore
protected filterUnderscoreToCamelCase ( string $text ) : string
$text string
Résultat string

Property Details

$config protected_oe property

protected array $config
Résultat array

$foreignKeys protected_oe property

protected array $foreignKeys
Résultat array