1 | <?php |
||
24 | final class FakeChannelCollector extends DataCollector |
||
25 | { |
||
26 | /** |
||
27 | * @param ChannelRepositoryInterface $channelRepository |
||
28 | * @param ChannelContextInterface $channelContext |
||
29 | */ |
||
30 | public function __construct(ChannelRepositoryInterface $channelRepository, ChannelContextInterface $channelContext) |
||
35 | |||
36 | /** |
||
37 | * @return ChannelInterface[] |
||
38 | */ |
||
39 | public function getChannels() |
||
43 | |||
44 | /** |
||
45 | * @return ChannelInterface |
||
46 | */ |
||
47 | public function getCurrentChannel() |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function collect(Request $request, Response $response, \Exception $exception = null) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function getName() |
||
66 | } |
||
67 |