Debian Codegraph @

vendor/wikimedia/idle-dom/src/Stub/TextTrack.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\TextTrackCue;
11 use Wikimedia\IDLeDOM\TextTrackCueList;
12
13 trait 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 }