for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JAQB\Query\Traits;
trait Limit
{
/**
* @var JAQB\Statement\LimitStatement
*/
protected $limit;
* Sets the limit for the query.
*
* @param int $limit
* @param int $offset
* @return self
public function limit($limit, $offset = 0)
$this->limit->setLimit($limit, $offset);
return $this;
}
* Gets the limit statement for the query.
* @return LimitStatement
public function getLimit()
return $this->limit;