Files

22 lines
500 B
PHP
Raw Permalink Normal View History

2018-04-14 11:10:38 +02:00
<?php
namespace Grocy\Middleware;
2023-07-29 14:02:56 +02:00
use DI\Container;
2026-04-24 19:59:42 +02:00
use Grocy\Services\ApplicationService;
2026-04-19 20:57:57 +02:00
use Psr\Http\Message\ResponseFactoryInterface;
2018-04-14 11:10:38 +02:00
class BaseMiddleware
{
2026-04-19 20:57:57 +02:00
public function __construct(Container $container, ResponseFactoryInterface $responseFactory)
{
$this->AppContainer = $container;
2026-04-19 20:57:57 +02:00
$this->ResponseFactory = $responseFactory;
2026-04-20 22:46:47 +02:00
$this->ApplicationService = ApplicationService::GetInstance();
2018-04-14 11:10:38 +02:00
}
2026-04-19 20:57:57 +02:00
protected $AppContainer;
protected $ResponseFactory;
protected $ApplicationService;
2018-04-14 11:10:38 +02:00
}