Completed
Push — master ( d24069...59bb94 )
by Andrii
03:18
created

PlainHandler   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 18
ccs 0
cts 8
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A render() 0 4 1
A parse() 0 4 1
1
<?php
2
3
/*
4
 * Task runner, code generator and build tool for easier continuos integration
5
 *
6
 * @link      https://github.com/hiqdev/hidev
7
 * @package   hidev
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hidev\handlers;
13
14
/**
15
 * Handler for plain file operations.
16
 */
17
class PlainHandler extends BaseHandler
18
{
19
    /**
20
     * {@inheritdoc}
21
     */
22
    public function render($data)
23
    {
24
        return $data;
25
    }
26
27
    /**
28
     * {@inheritdoc}
29
     */
30
    public function parse($input)
31
    {
32
        return $input;
33
    }
34
}
35