<?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;
}
}
To access the Kueue Pay Developer API, you’ll need an API key. You can obtain your API key by logging in to your Kueue Pay merchant account and navigating to the API section. Collect Client ID , Secret ID & Merchant ID Carefully. Keep your API key confidential and do not share it publicly.