mirror of
https://github.com/grocy/grocy.git
synced 2025-09-24 21:31:39 +00:00
17 lines
294 B
PHP
17 lines
294 B
PHP
![]() |
<?php
|
||
|
|
||
|
namespace Grocy\Services;
|
||
|
|
||
|
use Grocy\Services\DatabaseService;
|
||
|
|
||
|
class BaseService
|
||
|
{
|
||
|
public function __construct() {
|
||
|
$this->DatabaseService = new DatabaseService();
|
||
|
$this->Database = $this->DatabaseService->GetDbConnection();
|
||
|
}
|
||
|
|
||
|
protected $DatabaseService;
|
||
|
protected $Database;
|
||
|
}
|