PHP Class Dusterio\AwsWorker\Controllers\WorkerController

Inheritance: extends LaravelController
Afficher le fichier Open project: dusterio/laravel-aws-worker

Protected Properties

Свойство Type Description
$awsHeaders array

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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 )

Method Details

queue() public méthode

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
Résultat Illuminate\Http\Response

schedule() public méthode

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
Résultat array

Property Details

$awsHeaders protected_oe property

protected array $awsHeaders
Résultat array