PHP Class ZF2rapid\Generator\ClassGenerator\ModuleClassGenerator

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

Protected Properties

Свойство Type Description
$config array
$moduleRootConstant string

Méthodes publiques

Méthode Description
__construct ( null | string $moduleName, null | string $moduleRootConstant, array $config = [] )

Méthodes protégées

Méthode Description
addClassDocBlock ( $moduleName ) Add a class doc block
addGetAutoloaderConfigMethod ( ) : void Generate the getAutoloaderConfig() method
addGetConfigMethod ( ) : void Generate the getConfig() method
addInitMethod ( ) Generate the init() method

Method Details

__construct() public méthode

public __construct ( null | string $moduleName, null | string $moduleRootConstant, array $config = [] )
$moduleName null | string
$moduleRootConstant null | string
$config array

addClassDocBlock() protected méthode

Add a class doc block
protected addClassDocBlock ( $moduleName )
$moduleName

addGetAutoloaderConfigMethod() protected méthode

Generate the getAutoloaderConfig() method
protected addGetAutoloaderConfigMethod ( ) : void
Résultat void

addGetConfigMethod() protected méthode

Generate the getConfig() method
protected addGetConfigMethod ( ) : void
Résultat void

addInitMethod() protected méthode

Generate the init() method
protected addInitMethod ( )

Property Details

$config protected_oe property

protected array $config
Résultat array

$moduleRootConstant protected_oe property

protected string $moduleRootConstant
Résultat string