CommonMarkRenderer   A
last analyzed

Coupling/Cohesion

Components 0
Dependencies 1

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 8
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 5 1
1
<?php
2
3
namespace Kaloa\Renderer;
4
5
use League\CommonMark\CommonMarkConverter;
6
7
/**
8
 *
9
 */
10
final class CommonMarkRenderer implements RendererInterface
11
{
12 1
    public function render($input)
13
    {
14 1
        $converter = new CommonMarkConverter();
15 1
        return $converter->convertToHtml($input);
16
    }
17
}
18