Files
grocy/middleware/BaseMiddleware.php
T

19 lines
323 B
PHP
Raw Normal View History

2018-04-14 11:10:38 +02:00
<?php
namespace Grocy\Middleware;
2020-08-31 20:40:31 +02:00
use Grocy\Services\ApplicationService;
2018-04-14 11:10:38 +02:00
class BaseMiddleware
{
2020-08-31 20:40:31 +02:00
protected $AppContainer;
protected $ApplicationService;
2020-02-11 17:42:03 +01:00
public function __construct(\DI\Container $container)
{
$this->AppContainer = $container;
$this->ApplicationService = ApplicationService::getInstance();
2018-04-14 11:10:38 +02:00
}
}