1 | <?php |
||
11 | final class ProcessedShortcode extends AbstractShortcode implements ParsedShortcodeInterface |
||
12 | { |
||
13 | /** @var ShortcodeInterface */ |
||
14 | private $parent; |
||
15 | private $position; |
||
16 | private $namePosition; |
||
17 | private $text; |
||
18 | private $textContent; |
||
19 | private $offset; |
||
20 | private $shortcodeText; |
||
21 | private $iterationNumber; |
||
22 | private $recursionLevel; |
||
23 | /** @var ProcessorInterface */ |
||
24 | private $processor; |
||
25 | |||
26 | 37 | private function __construct() |
|
29 | |||
30 | 37 | public static function createFromContext(ProcessorContext $context) |
|
58 | |||
59 | 35 | public function withContent($content) |
|
66 | |||
67 | 1 | public function hasAncestor($name) |
|
79 | |||
80 | 4 | public function getParent() |
|
84 | |||
85 | 2 | public function getTextContent() |
|
89 | |||
90 | 2 | public function getPosition() |
|
94 | |||
95 | 2 | public function getNamePosition() |
|
99 | |||
100 | 1 | public function getText() |
|
104 | |||
105 | 1 | public function getShortcodeText() |
|
109 | |||
110 | 1 | public function getOffset() |
|
114 | |||
115 | 1 | public function getIterationNumber() |
|
119 | |||
120 | 1 | public function getRecursionLevel() |
|
124 | |||
125 | 1 | public function getProcessor() |
|
129 | } |
||
130 |