Debian Codegraph @

vendor/wikimedia/idle-dom/src/Stub/VideoTrackList.php

raw
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\EventHandlerNonNull;
10 use Wikimedia\IDLeDOM\VideoTrack;
11
12 trait 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 }