PlainHandler::parse()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
1
<?php
2
/**
3
 * Automation tool mixed with code generator for easier continuous development
4
 *
5
 * @link      https://github.com/hiqdev/hidev
6
 * @package   hidev
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2018, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hidev\handlers;
12
13
/**
14
 * Handler for plain file operations.
15
 */
16
class PlainHandler extends BaseHandler
17
{
18
    /**
19
     * {@inheritdoc}
20
     */
21
    public function render($data)
22
    {
23
        return $data;
24
    }
25
26
    /**
27
     * {@inheritdoc}
28
     */
29
    public function parse($input)
30
    {
31
        return $input;
32
    }
33
}
34