W3cubDocs

/Laravel 5.4

JobName

class JobName (View source)

Methods

static array parse(string $job)

Parse the given job name into a class / method array.

static string resolve(string $name, array $payload)

Get the resolved name of the queued job class.

Details

static array parse(string $job)

Parse the given job name into a class / method array.

Parameters

string $job

Return Value

array

static string resolve(string $name, array $payload)

Get the resolved name of the queued job class.

Parameters

string $name
array $payload

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Queue/Jobs/JobName.html