mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Add missing router service.
This commit is contained in:
parent
7b5e971b8d
commit
eeb34d25dc
@ -17,6 +17,7 @@ use Exception;
|
|||||||
use loophp\psr17\Psr17Interface;
|
use loophp\psr17\Psr17Interface;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||||
|
use Symfony\Component\Routing\RouterInterface;
|
||||||
use Symfony\Component\Security\Core\Security;
|
use Symfony\Component\Security\Core\Security;
|
||||||
|
|
||||||
final class Test
|
final class Test
|
||||||
@ -33,13 +34,16 @@ final class Test
|
|||||||
|
|
||||||
private Psr17Interface $psr17;
|
private Psr17Interface $psr17;
|
||||||
|
|
||||||
|
private RouterInterface $router;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
StoredObjectRepository $storedObjectRepository,
|
StoredObjectRepository $storedObjectRepository,
|
||||||
WopiConfigurationInterface $wopiConfiguration,
|
WopiConfigurationInterface $wopiConfiguration,
|
||||||
WopiDiscoveryInterface $wopiDiscovery,
|
WopiDiscoveryInterface $wopiDiscovery,
|
||||||
ResponderInterface $responder,
|
ResponderInterface $responder,
|
||||||
Security $security,
|
Security $security,
|
||||||
Psr17Interface $psr17
|
Psr17Interface $psr17,
|
||||||
|
RouterInterface $router
|
||||||
) {
|
) {
|
||||||
$this->storedObjectRepository = $storedObjectRepository;
|
$this->storedObjectRepository = $storedObjectRepository;
|
||||||
$this->wopiConfiguration = $wopiConfiguration;
|
$this->wopiConfiguration = $wopiConfiguration;
|
||||||
@ -47,6 +51,7 @@ final class Test
|
|||||||
$this->responder = $responder;
|
$this->responder = $responder;
|
||||||
$this->security = $security;
|
$this->security = $security;
|
||||||
$this->psr17 = $psr17;
|
$this->psr17 = $psr17;
|
||||||
|
$this->router = $router;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __invoke(string $fileId): Response
|
public function __invoke(string $fileId): Response
|
||||||
|
Loading…
x
Reference in New Issue
Block a user