PHP 인터페이스 Horde_Injector_Scope, horde

Injectors implement a Chain of Responsibility pattern. This is the required interface for injectors to pass on responsibility to parent objects in the chain.
파일 보기 프로젝트 열기: horde/horde 0 사용 예제들

공개 메소드들

메소드 설명
getBinder ( string $interface ) : Horde_Injector_Binder | null Returns the Horde_Injector_Binder object mapped to the request interface if such a mapping exists
getInstance ( string $interface ) : object Returns instance of requested object if proper configuration has been provided.

메소드 상세

getBinder() 공개 메소드

Returns the Horde_Injector_Binder object mapped to the request interface if such a mapping exists
public getBinder ( string $interface ) : Horde_Injector_Binder | null
$interface string Interface name of object whose binding if being retrieved.
리턴 Horde_Injector_Binder | null

getInstance() 공개 메소드

Returns instance of requested object if proper configuration has been provided.
public getInstance ( string $interface ) : object
$interface string Interface name of object which is being requested.
리턴 object