PHP Класс FluxBB\Core\Action

Показать файл Открыть проект

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

Свойство Тип Описание
$events Illuminate\Contracts\Events\Dispatcher The event dispatcher instance.
$input array All input data passed into the action.

Открытые методы

Метод Описание
execute ( array $input = [] ) : Response Turn a request into a response.
setEvents ( Illuminate\Contracts\Events\Dispatcher $events ) : void Set the event dispatcher instance.

Защищенные методы

Метод Описание
get ( string $key, mixed $default = null ) : mixed Get an input variable.
raise ( object $event ) : void Raise the given event.
run ( ) : array | null Run any desired actions.

Описание методов

execute() публичный Метод

Turn a request into a response.
public execute ( array $input = [] ) : Response
$input array
Результат FluxBB\Server\Response

get() защищенный Метод

Get an input variable.
protected get ( string $key, mixed $default = null ) : mixed
$key string
$default mixed
Результат mixed

raise() защищенный Метод

Raise the given event.
protected raise ( object $event ) : void
$event object
Результат void

run() абстрактный защищенный Метод

Run any desired actions.
abstract protected run ( ) : array | null
Результат array | null

setEvents() публичный Метод

Set the event dispatcher instance.
public setEvents ( Illuminate\Contracts\Events\Dispatcher $events ) : void
$events Illuminate\Contracts\Events\Dispatcher
Результат void

Описание свойств

$events защищенное свойство

The event dispatcher instance.
protected Dispatcher,Illuminate\Contracts\Events $events
Результат Illuminate\Contracts\Events\Dispatcher

$input защищенное свойство

All input data passed into the action.
protected array $input
Результат array