for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace RabbitMqModule\Options;
use Zend\Stdlib\AbstractOptions;
/**
* Class Qos
* @package RabbitMqModule\Options
*/
class Qos extends AbstractOptions
{
* @var int
protected $prefetchSize = 0;
protected $prefetchCount = 0;
* @var bool
protected $global = false;
* @return int
public function getPrefetchSize()
return $this->prefetchSize;
}
* @param int $prefetchSize
*
* @return $this
public function setPrefetchSize($prefetchSize)
$this->prefetchSize = $prefetchSize;
return $this;
public function getPrefetchCount()
return $this->prefetchCount;
* @param int $prefetchCount
public function setPrefetchCount($prefetchCount)
$this->prefetchCount = $prefetchCount;
* @return bool
public function isGlobal()
return $this->global;
* @param bool $global
public function setGlobal($global)
$this->global = $global;