1 | <?php |
||
10 | final class ProcessedShortcode extends AbstractShortcode implements ParsedShortcodeInterface |
||
11 | { |
||
12 | /** @var ShortcodeInterface */ |
||
13 | private $parent; |
||
14 | private $position; |
||
15 | private $namePosition; |
||
16 | private $text; |
||
17 | private $textContent; |
||
18 | private $offset; |
||
19 | private $baseOffset; |
||
20 | private $shortcodeText; |
||
21 | private $iterationNumber; |
||
22 | private $recursionLevel; |
||
23 | /** @var ProcessorInterface */ |
||
24 | private $processor; |
||
25 | |||
26 | 57 | private function __construct() |
|
29 | |||
30 | 57 | public static function createFromContext(ProcessorContext $context) |
|
59 | |||
60 | 55 | public function withContent($content) |
|
67 | |||
68 | 1 | public function hasAncestor($name) |
|
80 | |||
81 | 4 | public function getParent() |
|
85 | |||
86 | 3 | public function getTextContent() |
|
90 | |||
91 | 2 | public function getPosition() |
|
95 | |||
96 | 2 | public function getNamePosition() |
|
100 | |||
101 | 1 | public function getText() |
|
105 | |||
106 | 17 | public function getShortcodeText() |
|
110 | |||
111 | 17 | public function getOffset() |
|
115 | |||
116 | 1 | public function getBaseOffset() |
|
120 | |||
121 | 1 | public function getIterationNumber() |
|
125 | |||
126 | 1 | public function getRecursionLevel() |
|
130 | |||
131 | 1 | public function getProcessor() |
|
135 | } |
||
136 |