PHP 클래스 Neos\Flow\ObjectManagement\DependencyInjection\DependencyProxy

파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$builder Closure
$className string
$propertyVariables array

공개 메소드들

메소드 설명
__call ( string $methodName, array $arguments ) : mixed Proxy magic call method which triggers the injection of the real dependency and returns the result of a call to the original method in the dependency
__construct ( string $className, Closure $builder ) Constructs this proxy
_activateDependency ( ) : object Activate the dependency and set it in the object.
_addPropertyVariable ( &$propertyVariable ) : void Adds another variable by reference where the actual dependency object should be injected into once this proxy is activated.
_getClassName ( ) : string Returns the class name of the proxied dependency

메소드 상세

__call() 공개 메소드

Proxy magic call method which triggers the injection of the real dependency and returns the result of a call to the original method in the dependency
public __call ( string $methodName, array $arguments ) : mixed
$methodName string Name of the method to be called
$arguments array An array of arguments to be passed to the method
리턴 mixed

__construct() 공개 메소드

Constructs this proxy
public __construct ( string $className, Closure $builder )
$className string Implementation class name of the dependency to proxy
$builder Closure The closure which eventually builds the dependency

_activateDependency() 공개 메소드

Activate the dependency and set it in the object.
public _activateDependency ( ) : object
리턴 object The real dependency object

_addPropertyVariable() 공개 메소드

Adds another variable by reference where the actual dependency object should be injected into once this proxy is activated.
public _addPropertyVariable ( &$propertyVariable ) : void
리턴 void

_getClassName() 공개 메소드

Returns the class name of the proxied dependency
public _getClassName ( ) : string
리턴 string Fully qualified class name of the proxied object

프로퍼티 상세

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

protected Closure $builder
리턴 Closure

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

protected string $className
리턴 string

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

protected array $propertyVariables
리턴 array