mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
More or less finalize recipes feature
This commit is contained in:
@@ -3,14 +3,19 @@
|
||||
namespace Grocy\Services;
|
||||
|
||||
use \Grocy\Services\DatabaseService;
|
||||
use \Grocy\Services\LocalizationService;
|
||||
|
||||
class BaseService
|
||||
{
|
||||
public function __construct() {
|
||||
$this->DatabaseService = new DatabaseService();
|
||||
$this->Database = $this->DatabaseService->GetDbConnection();
|
||||
|
||||
$localizationService = new LocalizationService(CULTURE);
|
||||
$this->LocalizationService = $localizationService;
|
||||
}
|
||||
|
||||
protected $DatabaseService;
|
||||
protected $Database;
|
||||
protected $LocalizationService;
|
||||
}
|
||||
|
Reference in New Issue
Block a user