PHP 클래스 XStatic\StaticProxy

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

보호된 프로퍼티들

프로퍼티 타입 설명
$container The Container that provides the Proxy Subjects

공개 메소드들

메소드 설명
__callStatic ( string $method, array $args ) : mixed Performs the proxying of the statically called method to the Proxy Subject in the Container
getInstance ( ) : mixed Retrieves the instance of the Proxy Subject from the Container that the Static Proxy is associated with
getInstanceIdentifier ( ) : string Retrieves the Instance Identifier that is used to retrieve the Proxy Subject from the Container
setContainer ( Interop\Container\ContainerInterface $container ) : mixed Sets the Container that will be used to retrieve the Proxy Subject

메소드 상세

__callStatic() 공개 정적인 메소드

Performs the proxying of the statically called method to the Proxy Subject in the Container
public static __callStatic ( string $method, array $args ) : mixed
$method string
$args array
리턴 mixed

getInstance() 공개 정적인 메소드

Retrieves the instance of the Proxy Subject from the Container that the Static Proxy is associated with
public static getInstance ( ) : mixed
리턴 mixed

getInstanceIdentifier() 공개 정적인 메소드

Retrieves the Instance Identifier that is used to retrieve the Proxy Subject from the Container
public static getInstanceIdentifier ( ) : string
리턴 string

setContainer() 공개 정적인 메소드

Sets the Container that will be used to retrieve the Proxy Subject
public static setContainer ( Interop\Container\ContainerInterface $container ) : mixed
$container Interop\Container\ContainerInterface The Container that provides the real Proxy Subject
리턴 mixed

프로퍼티 상세

$container 보호되어 있는 정적으로 프로퍼티

The Container that provides the Proxy Subjects
protected static $container