src/Provider/ProviderRegistry.php
public function get($name)
    {
        if (!array_key_exists($name, $this->queues)) {
            throw new \InvalidArgumentException("The queue does not exist. {$name}");
        }

        return $this->queues[$name];
    }
public function get($name)
    {
        if (!array_key_exists($name, $this->queues)) {
            throw new \InvalidArgumentException("The queue does not exist. {$name}");
        }

        return $this->queues[$name];
    }
public function get ( $ name ) { if ( ! array_key_exists ( $ name , $ this -> queues ) ) { throw new \ InvalidArgumentException ( "The queue does not exist. {$name}" ) ; } return $ this -> queues [ $ name ] ; }
Returns a Single QueueProvider by Queue Name

@param string $name

@throws \InvalidArgumentException

@return ProviderInterface
Returns a Single QueueProvider by Queue Name