| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | final class AuthorizationMiddleware implements MiddlewareInterface |
||
| 16 | { |
||
| 17 | private BroadcastConfig $config; |
||
| 18 | private ResponseFactoryInterface $responseFactory; |
||
| 19 | private BroadcastInterface $broadcast; |
||
| 20 | |||
| 21 | 3 | public function __construct( |
|
| 22 | BroadcastInterface $broadcast, |
||
| 23 | BroadcastConfig $config, |
||
| 24 | ResponseFactoryInterface $responseFactory |
||
| 25 | ) { |
||
| 26 | 3 | $this->config = $config; |
|
| 27 | 3 | $this->responseFactory = $responseFactory; |
|
| 28 | 3 | $this->broadcast = $broadcast; |
|
| 29 | } |
||
| 30 | |||
| 31 | 3 | public function process( |
|
| 44 | } |
||
| 45 | } |
||
| 46 |