PHP Класс FOF30\Factory\Magic\BaseFactory

Показать файл Открыть проект

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

Свойство Тип Описание
$container The container where this factory belongs to
$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

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

Метод Описание
__construct ( Container $container ) Public constructor
getSection ( ) : string
setSection ( string $section )

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

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

Public constructor
public __construct ( Container $container )
$container FOF30\Container\Container The container we belong to

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

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

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

public setSection ( string $section )
$section string

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

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

The container where this factory belongs to
protected $container

$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