Files
grocy/middleware/BaseMiddleware.php
2026-04-20 22:46:47 +02:00

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;
}