PHP Class FOF30\Factory\Magic\ModelFactory

Inheritance: extends BaseFactory
Datei anzeigen Open project: akeeba/fof Class Usage Examples

Public Methods

Method Description
make ( string $name = null, array $config = [] ) : TreeModel | DataModel Create a new object instance

Method Details

make() public method

Create a new object instance
public make ( string $name = null, array $config = [] ) : TreeModel | DataModel
$name string The name of the class we're making
$config array The config parameters which override the fof.xml information
return FOF30\Model\TreeModel | FOF30\Model\DataModel A new TreeModel or DataModel object