| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class WrapViewHelper extends AbstractViewHelper |
||
| 15 | { |
||
| 16 | use CompileWithRenderStatic; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var bool |
||
| 20 | */ |
||
| 21 | protected $escapeOutput = false; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Initialize arguments |
||
| 25 | */ |
||
| 26 | public function initializeArguments() |
||
| 27 | { |
||
| 28 | $this->registerArgument('class', 'string', '', true); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param array $arguments |
||
| 33 | * @param \Closure $renderChildrenClosure |
||
| 34 | * @param RenderingContextInterface $renderingContext |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) |
||
| 47 | } |
||
| 48 | } |
||
| 49 |