Passed
Push — master ( 99e8d5...14b05a )
by Daniel
01:54
created

ArrayToCsvSpy   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getRawData() 0 3 1
A getHeader() 0 3 1
1
<?php declare(strict_types=1);
2
3
/**
4
 * This file is part of the Csv-Machine package.
5
 *
6
 * (c) Dan McAdams <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace RoadBunch\Csv\Tests\Csv;
13
14
15
use RoadBunch\Csv\ArrayToCsv;
16
use RoadBunch\Csv\Formatter\FormatterInterface;
17
18
/**
19
 * Class ArrayToCsvSpy
20
 *
21
 * @author  Dan McAdams
22
 * @package RoadBunch\Csv\Tests\Csv
23
 */
24
class ArrayToCsvSpy extends ArrayToCsv
25
{
26
    public function getRawData()
27
    {
28
        return $this->rawData;
29
    }
30
31
    /**
32
     * @return \RoadBunch\Csv\Header\HeaderInterface
33
     */
34
    public function getHeader()
35
    {
36
        return $this->header;
37
    }
38
}
39