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