ok

Mini Shell

Direktori : /home2/selectio/public_html/3-idiots/vendor/laravel/framework/src/Illuminate/Queue/Jobs/
Upload File :
Current File : /home2/selectio/public_html/3-idiots/vendor/laravel/framework/src/Illuminate/Queue/Jobs/JobName.php

<?php

namespace Illuminate\Queue\Jobs;

use Illuminate\Support\Str;

class JobName
{
    /**
     * Parse the given job name into a class / method array.
     *
     * @param  string  $job
     * @return array
     */
    public static function parse($job)
    {
        return Str::parseCallback($job, 'fire');
    }

    /**
     * Get the resolved name of the queued job class.
     *
     * @param  string  $name
     * @param  array  $payload
     * @return string
     */
    public static function resolve($name, $payload)
    {
        if (! empty($payload['displayName'])) {
            return $payload['displayName'];
        }

        return $name;
    }
}

Zerion Mini Shell 1.0