for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TraderInteractive\Mongo;
/**
* Trait for QueueAwareInterface implementation.
*/
trait QueueAwareTrait
{
* The mongoQueue instance.
*
* @var QueueInterface
private $mongoQueue;
* Returns the Queue instance.
* @return QueueInterface
public function getQueue() : QueueInterface
return $this->mongoQueue;
}
* Sets the Queue instance.
* @param QueueInterface $mongoQueue
* @return QueueAwareInterface
public function setQueue(QueueInterface $mongoQueue)
$this->mongoQueue = $mongoQueue;
return $this;
return $this
TraderInteractive\Mongo\QueueAwareTrait
TraderInteractive\Mongo\QueueAwareInterface