Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| NullEventSubmitter | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| submit | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\Extension\EventLogging\EventSubmitter; |
| 4 | |
| 5 | /** |
| 6 | * An event submitter that drops all events. |
| 7 | */ |
| 8 | class NullEventSubmitter implements EventSubmitter { |
| 9 | |
| 10 | /** @inheritDoc */ |
| 11 | public function submit( string $streamName, array $event ): void { |
| 12 | } |
| 13 | } |