users = new UserRepository(); $this->costUnits = new CostUnitRepository(); $this->pageTexts = new PageTextRepository(); $this->invoices = new InvoiceRepository(); } protected function checkAuth() { $authCheckProvider = new AuthCheckProvider; return $authCheckProvider->checkLoggedIn(); } }