AppserverIo\Appserver\MessageQueue\MessageQueue::uniqueWorkerName PHP Метод

uniqueWorkerName() защищенный Метод

Creates a unique name to register the worker with the passed priority.
protected uniqueWorkerName ( AppserverIo\Psr\Pms\PriorityKeyInterface $priorityKey ) : string
$priorityKey AppserverIo\Psr\Pms\PriorityKeyInterface The priority key to create a unique name for
Результат string The unique name
    protected function uniqueWorkerName(PriorityKeyInterface $priorityKey)
    {
        return sprintf('%s-%s', $this->getName(), $priorityKey);
    }