PluginProbe
Easy Invoice – Invoice Generator, PDF Quotes & Payments / 2.4.3
Easy Invoice – Invoice Generator, PDF Quotes & Payments v2.4.3
2.4.3 2.4.4 2.4.2 2.4.0 2.4.1 2.3.8 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.2.0 2.1.21 2.1.20 2.1.19 2.1.18 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 All 60 releases
easy-invoice / vendor / sabberworm / php-css-parser / src / Parsing / Anchor.php

Anchor.php in Easy Invoice – Invoice Generator, PDF Quotes & Payments 2.4.3, at vendor/sabberworm/php-css-parser/src/Parsing/Anchor.php

38 lines 658 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Sabberworm\CSS\Parsing;
4
5 /**
6 * @internal since 8.7.0
7 */
8 class Anchor
9 {
10 /**
11 * @var int
12 */
13 private $iPosition;
14
15 /**
16 * @var \Sabberworm\CSS\Parsing\ParserState
17 */
18 private $oParserState;
19
20 /**
21 * @param int $iPosition
22 * @param \Sabberworm\CSS\Parsing\ParserState $oParserState
23 */
24 public function __construct($iPosition, ParserState $oParserState)
25 {
26 $this->iPosition = $iPosition;
27 $this->oParserState = $oParserState;
28 }
29
30 /**
31 * @return void
32 */
33 public function backtrack()
34 {
35 $this->oParserState->setPosition($this->iPosition);
36 }
37 }
38