Passed
Branch feature/static-formatter (adf5e0)
by Daniel
01:49
created

WriterSpy   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 2
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\Writer;
16
17
/**
18
 * Class WriterSpy
19
 *
20
 * @author  Dan McAdams
21
 * @package RoadBunch\Csv\Tests\Csv
22
 */
23
class WriterSpy extends Writer
24
{
25
    public function getHeader()
26
    {
27
        return $this->header;
28
    }
29
30
    public function getRows()
31
    {
32
        return $this->rows;
33
    }
34
}
35