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\Wikispeech\Api;
4
5/**
6 * @file
7 * @ingroup API
8 * @ingroup Extensions
9 * @license GPL-2.0-or-later
10 */
11
12/**
13 * @since 0.1.10
14 */
15interface ListenMetricsEntryJournal {
16
17    /**
18     * Appends an entry to the current journal.
19     *
20     * @since 0.1.10
21     * @param ListenMetricsEntry $entry
22     */
23    public function appendEntry( ListenMetricsEntry $entry ): void;
24
25    /**
26     * Somehow archives the current journal. What this means depends on the implementation.
27     *
28     * @since 0.1.10
29     * @return bool Whether or not the current journal was archived. If false, see log.
30     */
31    public function archiveCurrentMetricsJournal(): bool;
32}