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

Наследование: extends BaseFactory
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
make ( string $name = null, array $config = [] ) : TreeModel | DataModel Create a new object instance

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

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

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
Результат FOF30\Model\TreeModel | FOF30\Model\DataModel A new TreeModel or DataModel object