| 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\Element; |
| 10 |
use Wikimedia\IDLeDOM\EventHandlerNonNull; |
| 11 |
|
| 12 |
trait ShadowRoot { |
| 13 |
// use \Wikimedia\IDLeDOM\Stub\DocumentOrShadowRoot; |
| 14 |
// use \Wikimedia\IDLeDOM\Stub\InnerHTML; |
| 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 string |
| 29 |
*/ |
| 30 |
public function getMode(): /* ShadowRootMode */ string { |
| 31 |
throw self::_unimplemented(); |
| 32 |
} |
| 33 |
|
| 34 |
/** |
| 35 |
* @return Element |
| 36 |
*/ |
| 37 |
public function getHost() { |
| 38 |
throw self::_unimplemented(); |
| 39 |
} |
| 40 |
|
| 41 |
/** |
| 42 |
* @return EventHandlerNonNull|callable|null |
| 43 |
*/ |
| 44 |
public function getOnslotchange() { |
| 45 |
throw self::_unimplemented(); |
| 46 |
} |
| 47 |
|
| 48 |
/** |
| 49 |
* @param EventHandlerNonNull|callable|null $val |
| 50 |
*/ |
| 51 |
public function setOnslotchange( /* ?mixed */ $val ): void { |
| 52 |
throw self::_unimplemented(); |
| 53 |
} |
| 54 |
|
| 55 |
} |