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\HTMLCollection;
10use Wikimedia\IDLeDOM\HTMLTableCaptionElement;
11use Wikimedia\IDLeDOM\HTMLTableRowElement;
12use Wikimedia\IDLeDOM\HTMLTableSectionElement;
13
14trait HTMLTableElement {
15
16	// Underscore is used to avoid conflicts with DOM-reserved names
17	// phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
18	// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
19
20	/**
21	 * @return Exception
22	 */
23	abstract protected function _unimplemented(): Exception;
24
25	// phpcs:enable
26
27	/**
28	 * @return HTMLTableCaptionElement|null
29	 */
30	public function getCaption() {
31		throw self::_unimplemented();
32	}
33
34	/**
35	 * @param HTMLTableCaptionElement|null $val
36	 */
37	public function setCaption( /* ?HTMLTableCaptionElement */ $val ): void {
38		throw self::_unimplemented();
39	}
40
41	/**
42	 * @return HTMLTableCaptionElement
43	 */
44	public function createCaption() {
45		throw self::_unimplemented();
46	}
47
48	/**
49	 * @return void
50	 */
51	public function deleteCaption(): void {
52		throw self::_unimplemented();
53	}
54
55	/**
56	 * @return HTMLTableSectionElement|null
57	 */
58	public function getTHead() {
59		throw self::_unimplemented();
60	}
61
62	/**
63	 * @param HTMLTableSectionElement|null $val
64	 */
65	public function setTHead( /* ?HTMLTableSectionElement */ $val ): void {
66		throw self::_unimplemented();
67	}
68
69	/**
70	 * @return HTMLTableSectionElement
71	 */
72	public function createTHead() {
73		throw self::_unimplemented();
74	}
75
76	/**
77	 * @return void
78	 */
79	public function deleteTHead(): void {
80		throw self::_unimplemented();
81	}
82
83	/**
84	 * @return HTMLTableSectionElement|null
85	 */
86	public function getTFoot() {
87		throw self::_unimplemented();
88	}
89
90	/**
91	 * @param HTMLTableSectionElement|null $val
92	 */
93	public function setTFoot( /* ?HTMLTableSectionElement */ $val ): void {
94		throw self::_unimplemented();
95	}
96
97	/**
98	 * @return HTMLTableSectionElement
99	 */
100	public function createTFoot() {
101		throw self::_unimplemented();
102	}
103
104	/**
105	 * @return void
106	 */
107	public function deleteTFoot(): void {
108		throw self::_unimplemented();
109	}
110
111	/**
112	 * @return HTMLCollection
113	 */
114	public function getTBodies() {
115		throw self::_unimplemented();
116	}
117
118	/**
119	 * @return HTMLTableSectionElement
120	 */
121	public function createTBody() {
122		throw self::_unimplemented();
123	}
124
125	/**
126	 * @return HTMLCollection
127	 */
128	public function getRows() {
129		throw self::_unimplemented();
130	}
131
132	/**
133	 * @param int $index
134	 * @return HTMLTableRowElement
135	 */
136	public function insertRow( int $index = -1 ) {
137		throw self::_unimplemented();
138	}
139
140	/**
141	 * @param int $index
142	 * @return void
143	 */
144	public function deleteRow( int $index ): void {
145		throw self::_unimplemented();
146	}
147
148}
149