mirror of
https://github.com/grocy/grocy.git
synced 2026-04-23 06:06:30 +00:00
22 lines
500 B
PHP
22 lines
500 B
PHP
<?php
|
|
|
|
namespace Grocy\Middleware;
|
|
|
|
use Grocy\Services\ApplicationService;
|
|
use DI\Container;
|
|
use Psr\Http\Message\ResponseFactoryInterface;
|
|
|
|
class BaseMiddleware
|
|
{
|
|
public function __construct(Container $container, ResponseFactoryInterface $responseFactory)
|
|
{
|
|
$this->AppContainer = $container;
|
|
$this->ResponseFactory = $responseFactory;
|
|
$this->ApplicationService = ApplicationService::GetInstance();
|
|
}
|
|
|
|
protected $AppContainer;
|
|
protected $ResponseFactory;
|
|
protected $ApplicationService;
|
|
}
|