Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Kraken
Util
Factory
FactoryInterface
define
Kraken\Util\Factory\FactoryInterface::define PHP 메소드
FactoryInterface 0 문서
파일 보기
프로젝트 열기: kraken-php/framework
define()
공개
메소드
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
리턴
Kraken\Util\Factory\FactoryInterface
public function define($name, callable $factoryMethod);
FactoryInterface
bindParam
create
define
getDefinition
getDefinitions
getParam
getParams
hasDefinition
hasParam
remove
unbindParam