PHP Класс FOF30\Factory\Scaffolding\Controller\ControllerErector

Наследование: implements FOF30\Factory\Scaffolding\Controller\ErectorInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$builder Builder The Builder which called us
$controller FOF30\Controller\DataController The Controller attached to the view we're building
$section string Section used to build the namespace prefix. We have to pass it since in CLI scaffolding we need to force the section we're in (ie Site or Admin). {@see \FOF30\Container\Container::getNamespacePrefix() } for valid values
$viewName string The name of our view

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

Метод Описание
__construct ( Builder $parent, DataController $controller, $viewName )
build ( )
getSection ( ) : string
setSection ( string $section )

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

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

public __construct ( Builder $parent, DataController $controller, $viewName )
$parent Builder
$controller FOF30\Controller\DataController

build() публичный Метод

public build ( )

getSection() публичный Метод

public getSection ( ) : string
Результат string

setSection() публичный Метод

public setSection ( string $section )
$section string

Описание свойств

$builder защищенное свойство

The Builder which called us
protected Builder,FOF30\Factory\Scaffolding\Controller $builder
Результат Builder

$controller защищенное свойство

The Controller attached to the view we're building
protected DataController,FOF30\Controller $controller
Результат FOF30\Controller\DataController

$section защищенное свойство

Section used to build the namespace prefix. We have to pass it since in CLI scaffolding we need to force the section we're in (ie Site or Admin). {@see \FOF30\Container\Container::getNamespacePrefix() } for valid values
protected string $section
Результат string

$viewName защищенное свойство

The name of our view
protected string $viewName
Результат string