Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Kraken
Util
Factory
SimpleFactoryInterface
define
Kraken\Util\Factory\SimpleFactoryInterface::define PHP Method
SimpleFactoryInterface Interface Documentation
Show file
Open project: kraken-php/framework
define()
public
method
Define factory method for some object in Factory.
public
define
(
callable
$factoryMethod
) :
Kraken\Util\Factory\FactoryInterface
$factoryMethod
callable
return
Kraken\Util\Factory\FactoryInterface
public function define(callable $factoryMethod);
SimpleFactoryInterface
bindParam
create
define
getDefinition
getParam
getParams
hasDefinition
hasParam
unbindParam