PHP Class ZF2rapid\Generator\CrudGenerator\AbstractActionViewGenerator

Inheritance: extends Zend\Code\Generator\BodyGenerator
Afficher le fichier Open project: zfrapid/zf2rapid

Méthodes publiques

Méthode Description
__construct ( null | string $moduleName, Zend\Code\Reflection\ClassReflection $loadedEntity )

Méthodes protégées

Méthode Description
addContent ( string $moduleName, Zend\Code\Reflection\ClassReflection $loadedEntity ) Generate view content
filterCamelCaseToDash ( string $text ) : string Filter camel case to dash
filterCamelCaseToUnderscore ( string $text ) : string Filter camel case to underscore

Method Details

__construct() public méthode

public __construct ( null | string $moduleName, Zend\Code\Reflection\ClassReflection $loadedEntity )
$moduleName null | string
$loadedEntity Zend\Code\Reflection\ClassReflection

addContent() abstract protected méthode

Generate view content
abstract protected addContent ( string $moduleName, Zend\Code\Reflection\ClassReflection $loadedEntity )
$moduleName string
$loadedEntity Zend\Code\Reflection\ClassReflection

filterCamelCaseToDash() protected méthode

Filter camel case to dash
protected filterCamelCaseToDash ( string $text ) : string
$text string
Résultat string

filterCamelCaseToUnderscore() protected méthode

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