1 | <?php |
||
18 | class ConsoleReporter implements ReporterInterface |
||
19 | { |
||
20 | /** |
||
21 | * @var OutputInterface |
||
22 | */ |
||
23 | protected $output; |
||
24 | |||
25 | /** |
||
26 | * Should we hide the output when it is OK? |
||
27 | * |
||
28 | * @var bool |
||
29 | */ |
||
30 | protected $suppressOKs = false; |
||
31 | |||
32 | /** |
||
33 | * @param OutputInterface $output |
||
34 | */ |
||
35 | public function __construct(OutputInterface $output = null) |
||
42 | |||
43 | public function suppressOKs($suppressOKs) |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function onAfterRun(CheckInterface $check, ResultInterface $result, $checkAlias = null) |
||
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | */ |
||
86 | public function onStart(\ArrayObject $checks, $runnerConfig) |
||
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | public function onBeforeRun(CheckInterface $check, $checkAlias = null) |
||
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | public function onStop(ResultsCollection $results) |
||
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | public function onFinish(ResultsCollection $results) |
||
114 | } |
||
115 |