Debian Codegraph @

vendor/wikimedia/idle-dom/src/Stub/HTMLSlotElement.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\AssignedNodesOptions;
10 use Wikimedia\IDLeDOM\Element;
11 use Wikimedia\IDLeDOM\Node;
12
13 trait HTMLSlotElement {
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 * @param AssignedNodesOptions|associative-array|null $options
28 * @return list<Node>
29 */
30 public function assignedNodes( /* ?mixed */ $options = null ): array {
31 throw self::_unimplemented();
32 }
33
34 /**
35 * @param AssignedNodesOptions|associative-array|null $options
36 * @return list<Element>
37 */
38 public function assignedElements( /* ?mixed */ $options = null ): array {
39 throw self::_unimplemented();
40 }
41
42 }