grocy/middleware/BaseMiddleware.php
2020-08-31 20:40:31 +02:00

19 lines
323 B
PHP

<?php
namespace Grocy\Middleware;
use Grocy\Services\ApplicationService;
class BaseMiddleware
{
protected $AppContainer;
protected $ApplicationService;
public function __construct(\DI\Container $container)
{
$this->AppContainer = $container;
$this->ApplicationService = ApplicationService::getInstance();
}
}