PHP 트레잇 Kraken\Util\Factory\FactoryTrait

파일 보기 프로젝트 열기: kraken-php/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$definitions callable[]
$params mixed[]

공개 메소드들

메소드 설명
__construct ( )
__destruct ( )
bindParam ( $name, $value )
create ( $name, $args = [] )
define ( $name, callable $factoryMethod )
getDefinition ( $name )
getDefinitions ( )
getParam ( $name )
getParams ( )
hasDefinition ( $name )
hasParam ( $param )
remove ( $name )
unbindParam ( $name )

비공개 메소드들

메소드 설명
invoke ( mixed $value ) : mixed

메소드 상세

__construct() 공개 메소드

public __construct ( )

__destruct() 공개 메소드

public __destruct ( )

bindParam() 공개 메소드

또한 보기: FactoryInterface::bindParam
public bindParam ( $name, $value )

create() 공개 메소드

또한 보기: FactoryInterface::create
public create ( $name, $args = [] )

define() 공개 메소드

또한 보기: FactoryInterface::define
public define ( $name, callable $factoryMethod )
$factoryMethod callable

getDefinition() 공개 메소드

또한 보기: FactoryInterface::getDefinition
public getDefinition ( $name )

getDefinitions() 공개 메소드

또한 보기: FactoryInterface::getDefinitions
public getDefinitions ( )

getParam() 공개 메소드

또한 보기: FactoryInterface::getParam
public getParam ( $name )

getParams() 공개 메소드

또한 보기: FactoryInterface::getParams
public getParams ( )

hasDefinition() 공개 메소드

또한 보기: FactoryInterface::hasDefinition
public hasDefinition ( $name )

hasParam() 공개 메소드

또한 보기: FactoryInterface::hasParam
public hasParam ( $param )

remove() 공개 메소드

또한 보기: FactoryInterface::remove
public remove ( $name )

unbindParam() 공개 메소드

또한 보기: FactoryInterface::unbindParam
public unbindParam ( $name )

프로퍼티 상세

$definitions 보호되어 있는 프로퍼티

protected callable[] $definitions
리턴 callable[]

$params 보호되어 있는 프로퍼티

protected mixed[] $params
리턴 mixed[]