original_string: public function read(Paginator $paginator = NULL) {
  		if ($this->hasNonSaveEntity() === FALSE) {
  			$this->rows = array();
  		}
  		$this->selection = $this->buildSql($paginator);
  		return $this;
  	}
code: public function read(Paginator $paginator = NULL) {
  		if ($this->hasNonSaveEntity() === FALSE) {
  			$this->rows = array();
  		}
  		$this->selection = $this->buildSql($paginator);
  		return $this;
  	}
code_tokens: public function read ( Paginator $ paginator = NULL ) { if ( $ this -> hasNonSaveEntity ( ) === FALSE ) { $ this -> rows = array ( ) ; } $ this -> selection = $ this -> buildSql ( $ paginator ) ; return $ this ; }
docstring: Create new Selection
  
  @param Paginator $paginator
  @return BaseRepository
docstring_tokens: Create new Selection