src/QueryBuilder.php
public function limit(int $limit, $offset=FALSE): QueryBuilderInterface
	{
		$this->state->setLimit($limit);
		$this->state->setOffset($offset);

		return $this;
	}
public function limit(int $limit, $offset=FALSE): QueryBuilderInterface
	{
		$this->state->setLimit($limit);
		$this->state->setOffset($offset);

		return $this;
	}
public function limit ( int $ limit , $ offset = FALSE ) : QueryBuilderInterface { $ this -> state -> setLimit ( $ limit ) ; $ this -> state -> setOffset ( $ offset ) ; return $ this ; }
Set a limit on the current sql statement

@param int $limit
@param int|bool $offset
@return QueryBuilderInterface
Set a limit on the current sql statement