PHP Class ZF2rapid\Generator\FactoryGenerator

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

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( string $className, string $moduleName, string $namespaceName, string $managerName, array $config = [], array $currentHydratorStrategies = [] )

Méthodes protégées

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

Method Details

__construct() public méthode

public __construct ( string $className, string $moduleName, string $namespaceName, string $managerName, array $config = [], array $currentHydratorStrategies = [] )
$className string
$moduleName string
$namespaceName string
$managerName string
$config array
$currentHydratorStrategies 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 $managerName )
$className string
$moduleName string
$managerName string

Property Details

$config protected_oe property

protected array $config
Résultat array

$hydratorStrategies protected_oe property

protected array $hydratorStrategies
Résultat array