Completed
Pull Request — master (#61)
by Vladimir
03:02
created

PlainTextEngine::parse()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/**
4
 * @copyright 2018 Vladimir Jimenez
5
 * @license   https://github.com/allejo/stakx/blob/master/LICENSE.md MIT
6
 */
7
8
namespace allejo\stakx\MarkupEngine;
9
10
class PlainTextEngine implements MarkupEngine
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15
    public function getTemplateTag()
16
    {
17
        return null;
18
    }
19
20
    /**
21
     * {@inheritdoc}
22
     */
23
    public function getExtensions()
24
    {
25
        return [
26
            'txt',
27
        ];
28
    }
29
30
    /**
31
     * {@inheritdoc}
32
     */
33
    public function parse($content)
34
    {
35
        return $content;
36
    }
37
}
38