DefaultParser::transform()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 1
crap 1
1
<?php namespace Arcanedev\LaravelExcel\Importers;
2
3
use Arcanedev\LaravelExcel\Contracts\Parser as ParserContract;
4
5
/**
6
 * Class     DefaultParser
7
 *
8
 * @package  Arcanedev\LaravelExcel\DefaultParser
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class DefaultParser implements ParserContract
12
{
13
    /* -----------------------------------------------------------------
14
     |  Main Functions
15
     | -----------------------------------------------------------------
16
     */
17
18
    /**
19
     * Transform the parsed data.
20
     *
21
     * @param  array  $row
22
     *
23
     * @return mixed
24
     */
25 18
    public function transform(array $row)
26
    {
27 18
        return $row;
28
    }
29
}
30