1 | <?php |
||
10 | final class ProcessorContext |
||
11 | { |
||
12 | /** |
||
13 | * @var ShortcodeInterface |
||
14 | * @psalm-suppress PropertyNotSetInConstructor |
||
15 | */ |
||
16 | public $shortcode; |
||
17 | |||
18 | /** @var ProcessedShortcode|null */ |
||
19 | public $parent = null; |
||
20 | |||
21 | /** |
||
22 | * @var ProcessorInterface |
||
23 | * @psalm-suppress PropertyNotSetInConstructor |
||
24 | */ |
||
25 | public $processor; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | * @psalm-suppress PropertyNotSetInConstructor |
||
30 | */ |
||
31 | public $textContent; |
||
32 | /** @var int */ |
||
33 | public $position = 0; |
||
34 | /** @psalm-var array<string,int> */ |
||
35 | public $namePosition = array(); |
||
36 | /** @var string */ |
||
37 | public $text = ''; |
||
38 | /** @var string */ |
||
39 | public $shortcodeText = ''; |
||
40 | /** @var int */ |
||
41 | public $iterationNumber = 0; |
||
42 | /** @var int */ |
||
43 | public $recursionLevel = 0; |
||
44 | /** |
||
45 | * @var int |
||
46 | * @psalm-suppress PropertyNotSetInConstructor |
||
47 | */ |
||
48 | public $offset; |
||
49 | /** |
||
50 | * @var int |
||
51 | * @psalm-suppress PropertyNotSetInConstructor |
||
52 | */ |
||
53 | public $baseOffset; |
||
54 | |||
55 | 59 | public function __construct() |
|
58 | } |
||
59 |