Completed
Pull Request — master (#214)
by Claus
03:52
created

PassthroughRenderChildren::render()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
namespace TYPO3Fluid\Fluid\Core\ViewHelper\Traits;
3
4
/**
5
 * Class PassthroughRenderChildren
6
 */
7
trait PassthroughRenderChildren
8
{
9
    /**
10
     * @return mixed
11
     */
12
    abstract protected function renderChildren();
13
14
    /**
15
     * @return string the rendered string
16
     * @api
17
     */
18
    public function render()
19
    {
20
        return $this->renderChildren();
21
    }
22
23
}
24