concrete/src/Foundation/Queue/QueueService.php
public function get($name, array $additionalConfig = [])
    {
        $adapter = new DatabaseQueueAdapter([
            'connection' => $this->connection,
        ]);
        $config = array_merge(
            [
                'name' => $name,
            ],
            $additionalConfig
        );

        return new ZendQueue($adapter, $config);
    }
public function get($name, array $additionalConfig = [])
    {
        $adapter = new DatabaseQueueAdapter([
            'connection' => $this->connection,
        ]);
        $config = array_merge(
            [
                'name' => $name,
            ],
            $additionalConfig
        );

        return new ZendQueue($adapter, $config);
    }
public function get ( $ name , array $ additionalConfig = [ ] ) { $ adapter = new DatabaseQueueAdapter ( [ 'connection' => $ this -> connection , ] ) ; $ config = array_merge ( [ 'name' => $ name , ] , $ additionalConfig ) ; return new ZendQueue ( $ adapter , $ config ) ; }
Get a queue by name.

@param string $name The queue name
@param array $additionalConfig additional configuration to be passed to the Zend Queue

@return \ZendQueue\Queue
Get a queue by name .