public function getQueueAliasByQueueName(string $queueName): string
    {
        return is_array($this->queues)
            ? ((array_flip($this->queues)[$queueName]) ?? $queueName)
            : $queueName;
    }
public function getQueueAliasByQueueName(string $queueName): string
    {
        return is_array($this->queues)
            ? ((array_flip($this->queues)[$queueName]) ?? $queueName)
            : $queueName;
    }
public function getQueueAliasByQueueName ( string $ queueName ) : string { return is_array ( $ this -> queues ) ? ( ( array_flip ( $ this -> queues ) [ $ queueName ] ) ?? $ queueName ) : $ queueName ; }
Return queue alias by queue name.

@param string $queueName

@return string
Return queue alias by queue name .