Frontend\Core\Engine\Url::getPage PHP Method

getPage() public method

Get a page specified by the given index
public getPage ( integer $index ) : mixed
$index integer The index (0-based).
return mixed
    public function getPage($index)
    {
        // redefine
        $index = (int) $index;
        // does the index exists
        if (isset($this->pages[$index])) {
            return $this->pages[$index];
        }
        // fallback
        return;
    }