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

PassthroughRenderChildren   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
renderChildren() 0 1 ?
A render() 0 4 1
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