Completed
Pull Request — master (#325)
by Marc
02:06
created

StandardRenderable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 4 1
1
<?php
2
namespace TYPO3Fluid\Fluid\Core\Rendering;
3
4
/*
5
 * This file belongs to the package "TYPO3 Fluid".
6
 * See LICENSE.txt that was shipped with this package.
7
 */
8
9
use TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\NodeInterface;
10
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
11
12
/**
13
 * Class StandardRenderable
14
 */
15
class StandardRenderable extends AbstractRenderable
16
{
17
    /**
18
     * @param RenderingContextInterface $renderingContext
19
     * @return mixed
20
     */
21
    public function render(RenderingContextInterface $renderingContext)
22
    {
23
        return $this->getNode()->evaluate($renderingContext);
24
    }
25
}
26