← All changes
|
back/Libraries/Sabberworm/CSS/src/CSSElement.php
+17
-0
10.10.1
→
11.1.0
View file →
| @@ -1,0 +1,17 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +declare(strict_types=1); | |
| 4 | + | |
| 5 | +namespace AcyMailing\Libraries\Sabberworm\CSS; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * Represents any entity in the CSS that is encapsulated by a class. | |
| 9 | + * | |
| 10 | + * Its primary purpose is to provide a type for use with `Document::getAllValues()` | |
| 11 | + * when a subset of values from a particular part of the document is required. | |
| 12 | + * | |
| 13 | + * Thus, elements which don't contain `Value`s (such as statement at-rules) don't need to implement this. | |
| 14 | + * | |
| 15 | + * It extends `Renderable` because every element is renderable. | |
| 16 | + */ | |
| 17 | +interface CSSElement extends Renderable {} | |