PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
acymailing / back / Libraries / Sabberworm / CSS / src / Position / Positionable.php

Positionable.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 11.1.0, at back/Libraries/Sabberworm/CSS/src/Position/Positionable.php

32 lines 759 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 }
32