PHP Class ZF2rapid\Generator\ClassGenerator\ControllerClassGenerator

Inheritance: extends Zend\Code\Generator\ClassGenerator, implements ZF2rapid\Generator\ClassGenerator\ClassGeneratorInterface
显示文件 Open project: zfrapid/zf2rapid

Protected Properties

Property Type Description
$config array

Public Methods

Method Description
__construct ( array $config = [] )
build ( string $className, string $moduleName ) Build the class

Protected Methods

Method Description
addClassDocBlock ( string $controllerName, string $moduleName ) Add a class doc block

Method Details

__construct() public method

public __construct ( array $config = [] )
$config array

addClassDocBlock() protected method

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

build() public method

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

Property Details

$config protected_oe property

protected array $config
return array