public function __construct(DashboardRepository $dashboardRepo) { parent::__construct(); $this->dashboardRepo = $dashboardRepo; }