public function setResultsPerPage($resultsPerPage)
    {
        $path = $this->prefixWithNamespace('resultsPerPage');
        $this->argumentsAccessor->set($path, $resultsPerPage);
        $this->stateChanged = true;

        return $this;
    }
public function setResultsPerPage($resultsPerPage)
    {
        $path = $this->prefixWithNamespace('resultsPerPage');
        $this->argumentsAccessor->set($path, $resultsPerPage);
        $this->stateChanged = true;

        return $this;
    }
public function setResultsPerPage ( $ resultsPerPage ) { $ path = $ this -> prefixWithNamespace ( 'resultsPerPage' ) ; $ this -> argumentsAccessor -> set ( $ path , $ resultsPerPage ) ; $ this -> stateChanged = true ; return $ this ; }
Sets the results per page that are used during search.

@param int $resultsPerPage
@return SearchRequest
Sets the results per page that are used during search .