| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | 1 | public function __construct( |
|
| 25 | string $transportName, |
||
| 26 | ScopeInterface $scope, |
||
| 27 | ActorProviderInterface $actorProvider, |
||
| 28 | TokenStorageProviderInterface $tokenStorageProvider, |
||
| 29 | TransportRegistry $transportRegistry, |
||
| 30 | ?EventDispatcherInterface $eventDispatcher = null, |
||
| 31 | ?string $storage = null |
||
| 32 | ) { |
||
| 33 | 1 | $this->authMiddleware = new AuthTransportMiddleware( |
|
|
|
|||
| 34 | $transportName, |
||
| 35 | $scope, |
||
| 36 | $actorProvider, |
||
| 37 | 1 | $tokenStorageProvider->getStorage($storage), |
|
| 38 | $transportRegistry, |
||
| 39 | $eventDispatcher |
||
| 40 | ); |
||
| 51 |