← All changes
|
back/Libraries/Sabberworm/CSS/src/Position/Positionable.php
+0
-31
11.0.1
→
11.1.1
View file →
| @@ -1,31 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | - | |
| 3 | -declare(strict_types=1); | |
| 4 | - | |
| 5 | -namespace AcyMailing\Libraries\Sabberworm\CSS\Position; | |
| 6 | - | |
| 7 | -/** | |
| 8 | - * Represents a CSS item that may have a position in the source CSS document (line number and possibly column number). | |
| 9 | - * | |
| 10 | - * A standard implementation of this interface is available in the `Position` trait. | |
| 11 | - */ | |
| 12 | -interface Positionable | |
| 13 | -{ | |
| 14 | - /** | |
| 15 | - * @return int<1, max>|null | |
| 16 | - */ | |
| 17 | - public function getLineNumber(): ?int; | |
| 18 | - | |
| 19 | - /** | |
| 20 | - * @return int<0, max>|null | |
| 21 | - */ | |
| 22 | - public function getColumnNumber(): ?int; | |
| 23 | - | |
| 24 | - /** | |
| 25 | - * @param int<1, max>|null $lineNumber | |
| 26 | - * @param int<0, max>|null $columnNumber | |
| 27 | - * | |
| 28 | - * @return $this fluent interface | |
| 29 | - */ | |
| 30 | - public function setPosition(?int $lineNumber, ?int $columnNumber = null): Positionable; | |
| 31 | -} | |