| @@ 46-55 (lines=10) @@ | ||
| 43 | /** |
|
| 44 | * {@inheritdoc} |
|
| 45 | */ |
|
| 46 | public function renderInline(AbstractInline $inline): string |
|
| 47 | { |
|
| 48 | $options = $this->environment->getConfig('renderer', []); |
|
| 49 | ||
| 50 | return $this->render([ |
|
| 51 | 'node' => $inline, |
|
| 52 | 'in_tight_list' => false, |
|
| 53 | 'options' => $options, |
|
| 54 | ]); |
|
| 55 | } |
|
| 56 | ||
| 57 | /** |
|
| 58 | * {@inheritdoc} |
|
| @@ 73-82 (lines=10) @@ | ||
| 70 | /** |
|
| 71 | * {@inheritdoc} |
|
| 72 | */ |
|
| 73 | public function renderBlock(AbstractBlock $block, $inTightList = false): string |
|
| 74 | { |
|
| 75 | $options = $this->environment->getConfig('renderer', []); |
|
| 76 | ||
| 77 | return $this->render([ |
|
| 78 | 'node' => $block, |
|
| 79 | 'in_tight_list' => $inTightList, |
|
| 80 | 'options' => $options, |
|
| 81 | ]); |
|
| 82 | } |
|
| 83 | ||
| 84 | /** |
|
| 85 | * {@inheritdoc} |
|