PHP 클래스 Nelmio\Alice\Generator\Resolver\ResolvingContext

파일 보기 프로젝트 열기: nelmio/alice 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $key = null )
add ( string $key )
checkForCircularReference ( string $key )
createFrom ( self $resolving = null, string $key ) : self Returns the existing instance if is an object or create a new one otherwise. It also ensure that the key will be added also it won't increment the counter if already present.
has ( string $key ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( string $key = null )
$key string

add() 공개 메소드

public add ( string $key )
$key string

checkForCircularReference() 공개 메소드

public checkForCircularReference ( string $key )
$key string

createFrom() 공개 정적인 메소드

Returns the existing instance if is an object or create a new one otherwise. It also ensure that the key will be added also it won't increment the counter if already present.
public static createFrom ( self $resolving = null, string $key ) : self
$resolving self
$key string
리턴 self

has() 공개 메소드

public has ( string $key ) : boolean
$key string
리턴 boolean