/** * getRevisionList * * @param bool $published * @param int $limit * * @return array|mixed */ protected function getRevisionList($published = false, $limit = 10) { $revisions = $this->pageRepo->getRevisionList($this->currentSite->getSiteId(), $this->page->getName(), $this->page->getPageType(), $published, $limit); return $revisions; }