PHP Класс Dusterio\AwsWorker\Controllers\WorkerController

Наследование: extends LaravelController
Показать файл Открыть проект

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

Свойство Тип Описание
$awsHeaders array

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

Метод Описание
queue ( Illuminate\Http\Request $request, Dusterio\AwsWorker\Wrappers\WorkerInterface $worker, Illuminate\Contracts\Container\Container $laravel ) : Illuminate\Http\Response
schedule ( Illuminate\Contracts\Container\Container $laravel, Illuminate\Contracts\Console\Kernel $kernel, Illuminate\Console\Scheduling\Schedule $schedule ) : array This method is nearly identical to ScheduleRunCommand shipped with Laravel, but since we are not interested in console output we couldn't reuse it

Приватные методы

Метод Описание
hasHeader ( Illuminate\Http\Request $request, $header ) : boolean
response ( array $messages = [], integer $code = 200 ) : Illuminate\Http\Response
validateBody ( Illuminate\Http\Request $request, Illuminate\Contracts\Container\Container $laravel ) : string
validateHeaders ( Illuminate\Http\Request $request )

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

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

public queue ( Illuminate\Http\Request $request, Dusterio\AwsWorker\Wrappers\WorkerInterface $worker, Illuminate\Contracts\Container\Container $laravel ) : Illuminate\Http\Response
$request Illuminate\Http\Request
$worker Dusterio\AwsWorker\Wrappers\WorkerInterface
$laravel Illuminate\Contracts\Container\Container
Результат Illuminate\Http\Response

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

This method is nearly identical to ScheduleRunCommand shipped with Laravel, but since we are not interested in console output we couldn't reuse it
public schedule ( Illuminate\Contracts\Container\Container $laravel, Illuminate\Contracts\Console\Kernel $kernel, Illuminate\Console\Scheduling\Schedule $schedule ) : array
$laravel Illuminate\Contracts\Container\Container
$kernel Illuminate\Contracts\Console\Kernel
$schedule Illuminate\Console\Scheduling\Schedule
Результат array

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

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

protected array $awsHeaders
Результат array