resultsPerPage = $resultsPerPage; } public function getResultsPerPage() { return $this->resultsPerPage; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PageInfo::class, 'Google_Service_YouTube_PageInfo');