| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class LogBroadcast extends AbstractBroadcast |
||
| 12 | { |
||
| 13 | private LoggerInterface $logger; |
||
| 14 | private string $level; |
||
| 15 | |||
| 16 | public function __construct(LoggerInterface $logger, string $level = LogLevel::INFO) |
||
| 20 | } |
||
| 21 | |||
| 22 | public function authorize(ServerRequestInterface $request): bool |
||
| 25 | } |
||
| 26 | |||
| 27 | public function publish($topics, $messages): void |
||
| 38 |