Html::renderInternal()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Render the HTML element
4
 *
5
 * @author  Tim Lochmüller
6
 */
7
8
namespace FRUIT\Ink\Rendering;
9
10
/**
11
 * Render the HTML element
12
 */
13
class Html extends AbstractRendering
14
{
15
16
    /**
17
     * Get the liens for the current HTML element
18
     *
19
     * @return array
20
     */
21
    public function renderInternal()
22
    {
23
        return array($this->breakContent(strip_tags($this->contentObject->data['bodytext'])));
24
    }
25
}
26