PHP Class FOF30\Factory\Magic\BaseFactory

Afficher le fichier Open project: akeeba/fof

Protected Properties

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__construct ( Container $container ) Public constructor
getSection ( ) : string
setSection ( string $section )

Method Details

__construct() public méthode

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

getSection() public méthode

public getSection ( ) : string
Résultat string

setSection() public méthode

public setSection ( string $section )
$section string

Property Details

$container protected_oe property

The container where this factory belongs to
protected $container

$section protected_oe property

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
Résultat string