Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace MediaWiki\Extension\EventLogging\EventSubmitter;
4
5interface EventSubmitter {
6
7    /**
8     * Submit an event according to the configuration of the given stream.
9     *
10     * @see https://wikitech.wikimedia.org/wiki/Event_Platform
11     * @see https://wikitech.wikimedia.org/wiki/Event_Platform/Instrumentation_How_To#In_PHP
12     *
13     * @param string $streamName
14     * @param array $event
15     */
16    public function submit( string $streamName, array $event ): void;
17}