public function __construct(PageRepo $pageRepo) { $this->pageRepo = $pageRepo; parent::__construct(); }