PluginProbe
Yatra – Travel Booking & Tour Operator Software / 3.0.16
Yatra – Travel Booking & Tour Operator Software v3.0.16
3.0.16 3.0.15 3.0.14 3.0.14.1 3.0.14.2 3.0.12 3.0.13 3.0.11 3.0.10 3.0.9 3.0.8 3.0.7 3.0.6 3.0.5 3.0.5.1 3.0.4 3.0.3 3.0.2.9 3.0.2.7 3.0.2.8 3.0.2.6 trunk 1.0.0 2.0.0 2.0.1 All 84 releases
yatra / vendor / sabberworm / php-css-parser / src / Parsing / Anchor.php

Anchor.php in Yatra – Travel Booking & Tour Operator Software 3.0.16, 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