for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Del\Common;
class Criteria
{
protected $limit;
protected $offset;
protected $order;
/**
* @return bool
*/
public function hasOffset()
return $this->offset !== null;
}
* @param $code
* @return $this
public function setOffset($code)
$this->offset = $code;
return $this;
* @return mixed
public function getOffset()
return $this->offset;
public function hasLimit()
return $this->limit !== null;
public function setLimit($code)
$this->limit = $code;
public function getLimit()
return $this->limit;
public function hasOrder()
return $this->order !== null;
public function setOrder($code)
$this->order = $code;
public function getOrder()
return $this->order;