PHP Class FOF30\Factory\Magic\BaseFactory

Datei anzeigen Open project: akeeba/fof

Protected Properties

Property 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

Public Methods

Method Description
__construct ( Container $container ) Public constructor
getSection ( ) : string
setSection ( string $section )

Method Details

__construct() public method

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

getSection() public method

public getSection ( ) : string
return string

setSection() public method

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
return string