Kraken\Util\Factory\FactoryInterface::create PHP Method

create() public method

Create object with given arguments using factoryMethod stored under $name key. Throws exception if there is no definition stored.
public create ( string $name, mixed[] $args = [] ) : mixed
$name string
$args mixed[]
return mixed
    public function create($name, $args = []);