PHP Класс Ouzo\Tools\Controller\Template\ControllerGenerator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( $controller, $controllerPath = null )
appendAction ( ActionGenerator $actionGenerator = null )
getClassName ( )
getClassNamespace ( )
getControllerContents ( )
getControllerPath ( )
isActionExists ( $actionName )
isControllerExists ( )
saveController ( )
templateContents ( )

Приватные методы

Метод Описание
preparePaths ( $path )

Описание методов

__construct() публичный метод

public __construct ( $controller, $controllerPath = null )

appendAction() публичный метод

public appendAction ( ActionGenerator $actionGenerator = null )
$actionGenerator ActionGenerator

getClassName() публичный метод

public getClassName ( )

getClassNamespace() публичный метод

public getClassNamespace ( )

getControllerContents() публичный метод

getControllerPath() публичный метод

public getControllerPath ( )

isActionExists() публичный метод

public isActionExists ( $actionName )

isControllerExists() публичный метод

public isControllerExists ( )

saveController() публичный метод

public saveController ( )

templateContents() публичный метод

public templateContents ( )