BookStack\Repos\EntityRepo::getRecentlyUpdatedPages PHP Method

getRecentlyUpdatedPages() public method

Get the most recently updated pages.
public getRecentlyUpdatedPages ( $count = 20, integer $page ) : mixed
$count
$page integer
return mixed
    public function getRecentlyUpdatedPages($count = 20, $page = 0)
    {
        return $this->permissionService->enforcePageRestrictions($this->page)->where('draft', '=', false)->orderBy('updated_at', 'desc')->with('book')->skip($page * $count)->take($count)->get();
    }