Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 10
0.00% covered (danger)
0.00%
0 / 10
CRAP
0.00% covered (danger)
0.00%
0 / 1
VideoTrackList
0.00% covered (danger)
0.00%
0 / 10
0.00% covered (danger)
0.00%
0 / 10
110
0.00% covered (danger)
0.00%
0 / 1
 _unimplemented
n/a
0 / 0
n/a
0 / 0
0
 getLength
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 item
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getTrackById
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getSelectedIndex
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOnchange
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setOnchange
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOnaddtrack
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setOnaddtrack
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getOnremovetrack
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setOnremovetrack
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\VideoTrack;
11
12trait VideoTrackList {
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 VideoTrack
35     */
36    public function item( int $index ) {
37        throw self::_unimplemented();
38    }
39
40    /**
41     * @param string $id
42     * @return VideoTrack|null
43     */
44    public function getTrackById( string $id ) {
45        throw self::_unimplemented();
46    }
47
48    /**
49     * @return int
50     */
51    public function getSelectedIndex(): int {
52        throw self::_unimplemented();
53    }
54
55    /**
56     * @return EventHandlerNonNull|callable|null
57     */
58    public function getOnchange() {
59        throw self::_unimplemented();
60    }
61
62    /**
63     * @param EventHandlerNonNull|callable|null $val
64     */
65    public function setOnchange( /* ?mixed */ $val ): void {
66        throw self::_unimplemented();
67    }
68
69    /**
70     * @return EventHandlerNonNull|callable|null
71     */
72    public function getOnaddtrack() {
73        throw self::_unimplemented();
74    }
75
76    /**
77     * @param EventHandlerNonNull|callable|null $val
78     */
79    public function setOnaddtrack( /* ?mixed */ $val ): void {
80        throw self::_unimplemented();
81    }
82
83    /**
84     * @return EventHandlerNonNull|callable|null
85     */
86    public function getOnremovetrack() {
87        throw self::_unimplemented();
88    }
89
90    /**
91     * @param EventHandlerNonNull|callable|null $val
92     */
93    public function setOnremovetrack( /* ?mixed */ $val ): void {
94        throw self::_unimplemented();
95    }
96
97}