PHP Class ZF2rapid\Generator\HydratorStrategyGenerator

Inheritance: extends Zend\Code\Generator\ClassGenerator, implements ZF2rapid\Generator\ClassGenerator\ClassGeneratorInterface
Afficher le fichier Open project: zfrapid/zf2rapid

Protected Properties

Свойство Type Description
$config array
$entityClass string
$loadedTables array
$refTableName string

Méthodes publiques

Méthode Description
__construct ( Zend\Stdlib\Parameters $params, string $refTableName )
build ( string $className, string $moduleName ) Build the class

Méthodes protégées

Méthode Description
addClassDocBlock ( string $className, string $moduleName ) Add a class doc block
addExtractMethod ( ) Generate an extract method
addHydrateMethod ( ) Generate an hydrate method

Method Details

__construct() public méthode

public __construct ( Zend\Stdlib\Parameters $params, string $refTableName )
$params Zend\Stdlib\Parameters
$refTableName string

addClassDocBlock() protected méthode

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

addExtractMethod() protected méthode

Generate an extract method
protected addExtractMethod ( )

addHydrateMethod() protected méthode

Generate an hydrate method
protected addHydrateMethod ( )

build() public méthode

Build the class
public build ( string $className, string $moduleName )
$className string
$moduleName string

Property Details

$config protected_oe property

protected array $config
Résultat array

$entityClass protected_oe property

protected string $entityClass
Résultat string

$loadedTables protected_oe property

protected array $loadedTables
Résultat array

$refTableName protected_oe property

protected string $refTableName
Résultat string