1 | <?php |
||
20 | final class LoggerListener extends AbstractListener implements BeforeSuiteListenerInterface, BeforeFixtureListenerInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var LoggerInterface |
||
24 | */ |
||
25 | private $logger; |
||
26 | |||
27 | /** |
||
28 | * @param LoggerInterface $logger |
||
29 | */ |
||
30 | public function __construct(LoggerInterface $logger) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function beforeSuite(SuiteEvent $suiteEvent, array $options) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function beforeFixture(FixtureEvent $fixtureEvent, array $options) |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function getName() |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | protected function configureOptionsNode(ArrayNodeDefinition $optionsNode) |
||
66 | } |
||
67 |