mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Add missing psr17 service.
This commit is contained in:
parent
07c3594107
commit
7b5e971b8d
@ -14,6 +14,7 @@ use ChampsLibres\WopiLib\Discovery\WopiDiscoveryInterface;
|
||||
use Chill\DocStoreBundle\Repository\StoredObjectRepository;
|
||||
use Chill\WopiBundle\Service\Controller\ResponderInterface;
|
||||
use Exception;
|
||||
use loophp\psr17\Psr17Interface;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||
use Symfony\Component\Security\Core\Security;
|
||||
@ -30,18 +31,22 @@ final class Test
|
||||
|
||||
private Security $security;
|
||||
|
||||
private Psr17Interface $psr17;
|
||||
|
||||
public function __construct(
|
||||
StoredObjectRepository $storedObjectRepository,
|
||||
WopiConfigurationInterface $wopiConfiguration,
|
||||
WopiDiscoveryInterface $wopiDiscovery,
|
||||
ResponderInterface $responder,
|
||||
Security $security
|
||||
Security $security,
|
||||
Psr17Interface $psr17
|
||||
) {
|
||||
$this->storedObjectRepository = $storedObjectRepository;
|
||||
$this->wopiConfiguration = $wopiConfiguration;
|
||||
$this->wopiDiscovery = $wopiDiscovery;
|
||||
$this->responder = $responder;
|
||||
$this->security = $security;
|
||||
$this->psr17 = $psr17;
|
||||
}
|
||||
|
||||
public function __invoke(string $fileId): Response
|
||||
|
Loading…
x
Reference in New Issue
Block a user