Debian Codegraph @

vendor/wikimedia/idle-dom/src/StyleSheet.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM;
7
8 /**
9 * StyleSheet
10 *
11 * @see https://dom.spec.whatwg.org/#interface-stylesheet
12 *
13 * @property string $type
14 * @property ?string $href
15 * @property Element|ProcessingInstruction|null $ownerNode
16 * @property CSSStyleSheet|null $parentStyleSheet
17 * @property ?string $title
18 * @property MediaList $media
19 * @property bool $disabled
20 * @phan-forbid-undeclared-magic-properties
21 */
22 interface StyleSheet {
23 /**
24 * @return string
25 */
26 public function getType(): string;
27
28 /**
29 * @return ?string
30 */
31 public function getHref(): ?string;
32
33 /**
34 * @return Element|ProcessingInstruction|null
35 */
36 public function getOwnerNode();
37
38 /**
39 * @return CSSStyleSheet|null
40 */
41 public function getParentStyleSheet();
42
43 /**
44 * @return ?string
45 */
46 public function getTitle(): ?string;
47
48 /**
49 * @return MediaList
50 */
51 public function getMedia();
52
53 /**
54 * @param ?string $val
55 */
56 public function setMedia( ?string $val ): void;
57
58 /**
59 * @return bool
60 */
61 public function getDisabled(): bool;
62
63 /**
64 * @param bool $val
65 */
66 public function setDisabled( bool $val ): void;
67
68 }