PHP 클래스 Themosis\Facades\Facade

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

보호된 프로퍼티들

프로퍼티 타입 설명
$app Themosis\Foundation\Application The Application instance.

공개 메소드들

메소드 설명
__callStatic ( string $method, array $args ) : mixed Magic method. Use to dynamically call the registered instance method.
getInstance ( ) : mixed Retrieve an instance from the container based on the alias defined in the facade.
setFacadeApplication ( Application $app ) Set the service container for the facades.

보호된 메소드들

메소드 설명
getFacadeAccessor ( ) : string Each facade must define their igniter service class key name.

메소드 상세

__callStatic() 공개 정적인 메소드

Magic method. Use to dynamically call the registered instance method.
public static __callStatic ( string $method, array $args ) : mixed
$method string The class method used.
$args array The method arguments.
리턴 mixed

getFacadeAccessor() 보호된 정적인 메소드

Each facade must define their igniter service class key name.
protected static getFacadeAccessor ( ) : string
리턴 string

getInstance() 공개 정적인 메소드

Retrieve an instance from the container based on the alias defined in the facade.
public static getInstance ( ) : mixed
리턴 mixed

setFacadeApplication() 공개 정적인 메소드

Set the service container for the facades.
public static setFacadeApplication ( Application $app )
$app Themosis\Foundation\Application

프로퍼티 상세

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

The Application instance.
protected static Application,Themosis\Foundation $app
리턴 Themosis\Foundation\Application