for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Speicher210\Fastbill\Api;
use JMS\Serializer\Annotation as JMS;
/**
* Trait for "Get" requests.
*/
trait GetRequestTrait
{
* The limit on the number of elements in the query of a list.
*
* @var integer
* @JMS\Type("integer")
* @JMS\SerializedName("LIMIT")
protected $limit = 100;
* The offset for the request.
* @JMS\SerializedName("OFFSET")
protected $offset;
* Get the limit on the number of elements in the query of a list.
* @return integer
public function getLimit()
return $this->limit;
}
* Set the limit for the request.
* @param integer $limit The limit.
* @return $this
public function setLimit($limit)
$this->limit = $limit;
return $this;
* Get the offset.
public function getOffset()
return $this->offset;
* Set the offset of the request.
* @param integer $offset The offset.
public function setOffset($offset)
$this->offset = $offset;