PHP Класс Themosis\Facades\Facade

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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