PHP 클래스 Nette\DI\ServiceDefinition

상속: extends Nette\Object
파일 보기 프로젝트 열기: nette/di 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$parameters array

공개 메소드들

메소드 설명
__clone ( )
addSetup ( $entity, array $args = [] ) : self
addTag ( $tag, $attr = TRUE ) : self
getAutowired ( ) : boolean | string[]
getClass ( ) : string | null
getEntity ( ) : string | array | ServiceDefinition | null
getFactory ( ) : Statement | null
getImplement ( ) : string | null
getImplementMode ( ) : string | null
getImplementType ( )
getInject ( ) : boolean | null
getParameters ( ) : array
getSetup ( ) : Statement[]
getTag ( $tag ) : mixed
getTags ( ) : array
isAutowired ( ) : boolean | string[]
isDynamic ( ) : boolean
setArguments ( array $args = [] ) : self
setAutowired ( $state = TRUE ) : self
setClass ( $class, array $args = [] ) : self
setDynamic ( $state = TRUE ) : self
setFactory ( $factory, array $args = [] ) : self
setImplement ( $interface ) : self
setImplementMode ( $mode ) : self
setImplementType ( $type )
setInject ( $state = TRUE ) : self
setNotifier ( callable $notifier )
setParameters ( array $params ) : self
setSetup ( array $setup ) : self
setTags ( array $tags ) : self

메소드 상세

__clone() 공개 메소드

public __clone ( )

addSetup() 공개 메소드

public addSetup ( $entity, array $args = [] ) : self
$args array
리턴 self

addTag() 공개 메소드

public addTag ( $tag, $attr = TRUE ) : self
리턴 self

getAutowired() 공개 메소드

public getAutowired ( ) : boolean | string[]
리턴 boolean | string[]

getClass() 공개 메소드

public getClass ( ) : string | null
리턴 string | null

getEntity() 공개 메소드

public getEntity ( ) : string | array | ServiceDefinition | null
리턴 string | array | ServiceDefinition | null

getFactory() 공개 메소드

public getFactory ( ) : Statement | null
리턴 Statement | null

getImplement() 공개 메소드

public getImplement ( ) : string | null
리턴 string | null

getImplementMode() 공개 메소드

public getImplementMode ( ) : string | null
리턴 string | null

getImplementType() 공개 메소드

사용 중단:
public getImplementType ( )

getInject() 공개 메소드

public getInject ( ) : boolean | null
리턴 boolean | null

getParameters() 공개 메소드

public getParameters ( ) : array
리턴 array

getSetup() 공개 메소드

public getSetup ( ) : Statement[]
리턴 Statement[]

getTag() 공개 메소드

public getTag ( $tag ) : mixed
리턴 mixed

getTags() 공개 메소드

public getTags ( ) : array
리턴 array

isAutowired() 공개 메소드

public isAutowired ( ) : boolean | string[]
리턴 boolean | string[]

isDynamic() 공개 메소드

public isDynamic ( ) : boolean
리턴 boolean

setArguments() 공개 메소드

public setArguments ( array $args = [] ) : self
$args array
리턴 self

setAutowired() 공개 메소드

public setAutowired ( $state = TRUE ) : self
리턴 self

setClass() 공개 메소드

public setClass ( $class, array $args = [] ) : self
$args array
리턴 self

setDynamic() 공개 메소드

public setDynamic ( $state = TRUE ) : self
리턴 self

setFactory() 공개 메소드

public setFactory ( $factory, array $args = [] ) : self
$args array
리턴 self

setImplement() 공개 메소드

public setImplement ( $interface ) : self
리턴 self

setImplementMode() 공개 메소드

public setImplementMode ( $mode ) : self
리턴 self

setImplementType() 공개 메소드

사용 중단:
public setImplementType ( $type )

setInject() 공개 메소드

public setInject ( $state = TRUE ) : self
리턴 self

setNotifier() 공개 메소드

public setNotifier ( callable $notifier )
$notifier callable

setParameters() 공개 메소드

public setParameters ( array $params ) : self
$params array
리턴 self

setSetup() 공개 메소드

public setSetup ( array $setup ) : self
$setup array
리턴 self

setTags() 공개 메소드

public setTags ( array $tags ) : self
$tags array
리턴 self

프로퍼티 상세

$parameters 공개적으로 프로퍼티

public array $parameters
리턴 array