getDatabaseService()->GetDbConnection(); } protected function getDatabaseService() { return DatabaseService::getInstance(); } protected function getLocalizationService() { if (!defined('GROCY_LOCALE')) { define('GROCY_LOCALE', GROCY_DEFAULT_LOCALE); } return LocalizationService::getInstance(GROCY_LOCALE); } protected function getStockService() { return StockService::getInstance(); } protected function getTasksService() { return TasksService::getInstance(); } protected function getUsersService() { return UsersService::getInstance(); } protected function getPrintService() { return PrintService::getInstance(); } protected function getFilesService() { return FilesService::getInstance(); } }