Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 11
0.00% covered (danger)
0.00%
0 / 11
CRAP
0.00% covered (danger)
0.00%
0 / 1
TextTrack
0.00% covered (danger)
0.00%
0 / 11
0.00% covered (danger)
0.00%
0 / 11
132
0.00% covered (danger)
0.00%
0 / 1
 _unimplemented
n/a
0 / 0
n/a
0 / 0
0
 getKind
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getLabel
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getLanguage
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getId
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getInBandMetadataTrackDispatchType
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getCues
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getActiveCues
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 addCue
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 removeCue
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOncuechange
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setOncuechange
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3// AUTOMATICALLY GENERATED.  DO NOT EDIT.
4// Use `composer build` to regenerate.
5
6namespace Wikimedia\IDLeDOM\Stub;
7
8use Exception;
9use Wikimedia\IDLeDOM\EventHandlerNonNull;
10use Wikimedia\IDLeDOM\TextTrackCue;
11use Wikimedia\IDLeDOM\TextTrackCueList;
12
13trait TextTrack {
14
15    // Underscore is used to avoid conflicts with DOM-reserved names
16    // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
17    // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
18
19    /**
20     * @return Exception
21     */
22    abstract protected function _unimplemented(): Exception;
23
24    // phpcs:enable
25
26    /**
27     * @return string
28     */
29    public function getKind(): /* TextTrackKind */ string {
30        throw self::_unimplemented();
31    }
32
33    /**
34     * @return string
35     */
36    public function getLabel(): string {
37        throw self::_unimplemented();
38    }
39
40    /**
41     * @return string
42     */
43    public function getLanguage(): string {
44        throw self::_unimplemented();
45    }
46
47    /**
48     * @return string
49     */
50    public function getId(): string {
51        throw self::_unimplemented();
52    }
53
54    /**
55     * @return string
56     */
57    public function getInBandMetadataTrackDispatchType(): string {
58        throw self::_unimplemented();
59    }
60
61    /**
62     * @return TextTrackCueList|null
63     */
64    public function getCues() {
65        throw self::_unimplemented();
66    }
67
68    /**
69     * @return TextTrackCueList|null
70     */
71    public function getActiveCues() {
72        throw self::_unimplemented();
73    }
74
75    /**
76     * @param TextTrackCue $cue
77     * @return void
78     */
79    public function addCue( /* TextTrackCue */ $cue ): void {
80        throw self::_unimplemented();
81    }
82
83    /**
84     * @param TextTrackCue $cue
85     * @return void
86     */
87    public function removeCue( /* TextTrackCue */ $cue ): void {
88        throw self::_unimplemented();
89    }
90
91    /**
92     * @return EventHandlerNonNull|callable|null
93     */
94    public function getOncuechange() {
95        throw self::_unimplemented();
96    }
97
98    /**
99     * @param EventHandlerNonNull|callable|null $val
100     */
101    public function setOncuechange( /* ?mixed */ $val ): void {
102        throw self::_unimplemented();
103    }
104
105}