mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
19 lines
336 B
PHP
19 lines
336 B
PHP
<?php
|
|
|
|
namespace Grocy\Middleware;
|
|
|
|
use Grocy\Services\ApplicationService;
|
|
use DI\Container;
|
|
|
|
class BaseMiddleware
|
|
{
|
|
protected $AppContainer;
|
|
protected $ApplicationService;
|
|
|
|
public function __construct(Container $container)
|
|
{
|
|
$this->AppContainer = $container;
|
|
$this->ApplicationService = ApplicationService::getInstance();
|
|
}
|
|
}
|