Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 9 |
CRAP | |
0.00% |
0 / 1 |
AudioTrackList | |
0.00% |
0 / 9 |
|
0.00% |
0 / 9 |
90 | |
0.00% |
0 / 1 |
_unimplemented | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | |||||
getLength | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
item | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getTrackById | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getOnchange | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setOnchange | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getOnaddtrack | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setOnaddtrack | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getOnremovetrack | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setOnremovetrack | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | // AUTOMATICALLY GENERATED. DO NOT EDIT. |
4 | // Use `composer build` to regenerate. |
5 | |
6 | namespace Wikimedia\IDLeDOM\Stub; |
7 | |
8 | use Exception; |
9 | use Wikimedia\IDLeDOM\AudioTrack; |
10 | use Wikimedia\IDLeDOM\EventHandlerNonNull; |
11 | |
12 | trait AudioTrackList { |
13 | |
14 | // Underscore is used to avoid conflicts with DOM-reserved names |
15 | // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore |
16 | // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName |
17 | |
18 | /** |
19 | * @return Exception |
20 | */ |
21 | abstract protected function _unimplemented(): Exception; |
22 | |
23 | // phpcs:enable |
24 | |
25 | /** |
26 | * @return int |
27 | */ |
28 | public function getLength(): int { |
29 | throw self::_unimplemented(); |
30 | } |
31 | |
32 | /** |
33 | * @param int $index |
34 | * @return AudioTrack |
35 | */ |
36 | public function item( int $index ) { |
37 | throw self::_unimplemented(); |
38 | } |
39 | |
40 | /** |
41 | * @param string $id |
42 | * @return AudioTrack|null |
43 | */ |
44 | public function getTrackById( string $id ) { |
45 | throw self::_unimplemented(); |
46 | } |
47 | |
48 | /** |
49 | * @return EventHandlerNonNull|callable|null |
50 | */ |
51 | public function getOnchange() { |
52 | throw self::_unimplemented(); |
53 | } |
54 | |
55 | /** |
56 | * @param EventHandlerNonNull|callable|null $val |
57 | */ |
58 | public function setOnchange( /* ?mixed */ $val ): void { |
59 | throw self::_unimplemented(); |
60 | } |
61 | |
62 | /** |
63 | * @return EventHandlerNonNull|callable|null |
64 | */ |
65 | public function getOnaddtrack() { |
66 | throw self::_unimplemented(); |
67 | } |
68 | |
69 | /** |
70 | * @param EventHandlerNonNull|callable|null $val |
71 | */ |
72 | public function setOnaddtrack( /* ?mixed */ $val ): void { |
73 | throw self::_unimplemented(); |
74 | } |
75 | |
76 | /** |
77 | * @return EventHandlerNonNull|callable|null |
78 | */ |
79 | public function getOnremovetrack() { |
80 | throw self::_unimplemented(); |
81 | } |
82 | |
83 | /** |
84 | * @param EventHandlerNonNull|callable|null $val |
85 | */ |
86 | public function setOnremovetrack( /* ?mixed */ $val ): void { |
87 | throw self::_unimplemented(); |
88 | } |
89 | |
90 | } |