src/Neevo/BaseStatement.php
public function limit($limit, $offset = null){
		if($this->validateConditions())
			return $this;

		$this->resetState();
		$this->limit = array($limit,
			($offset !== null && $this->type === Manager::STMT_SELECT) ? $offset : null);
		return $this;
	}
public function limit($limit, $offset = null){
		if($this->validateConditions())
			return $this;

		$this->resetState();
		$this->limit = array($limit,
			($offset !== null && $this->type === Manager::STMT_SELECT) ? $offset : null);
		return $this;
	}
public function limit ( $ limit , $ offset = null ) { if ( $ this -> validateConditions ( ) ) return $ this ; $ this -> resetState ( ) ; $ this -> limit = array ( $ limit , ( $ offset !== null && $ this -> type === Manager :: STMT_SELECT ) ? $ offset : null ) ; return $ this ; }
Sets LIMIT and OFFSET clauses.
@param int $limit
@param int $offset
@return BaseStatement fluent interface
Sets LIMIT and OFFSET clauses .