getQueue() public method

public getQueue ( string $channel ) : Queue
$channel string name of channel
return Queue
Example #1
0
 public function testDequeueFromNotExistedCollection()
 {
     $queue = $this->database->getQueue('some_strange_unexisted_channel');
     $this->assertNull($queue->dequeue());
 }