original_string: public function limit($beginAmount, $amount = null)
  	{
  		$beginObj  = new Numeric((int)$beginAmount);
  		$amountObj = ($amount) ? new Numeric((int)$amount) : null;
  
  		$this->select->limit($beginObj, $amountObj);
  
  		return $this;
  	}
code: public function limit($beginAmount, $amount = null)
  	{
  		$beginObj  = new Numeric((int)$beginAmount);
  		$amountObj = ($amount) ? new Numeric((int)$amount) : null;
  
  		$this->select->limit($beginObj, $amountObj);
  
  		return $this;
  	}
code_tokens: public function limit ( $ beginAmount , $ amount = null ) { $ beginObj = new Numeric ( ( int ) $ beginAmount ) ; $ amountObj = ( $ amount ) ? new Numeric ( ( int ) $ amount ) : null ; $ this -> select -> limit ( $ beginObj , $ amountObj ) ; return $ this ; }
docstring: Add a limit expression to the query.
  
  @param int      $beginAmount Amount if only one arg isset, if two, the first entry which will used.
  @param int|null $amount      (Optional) Amount of entries which.
  
  @return $this The same instance to concatenate methods.
docstring_tokens: Add a limit expression to the query .