Passed
Push — master ( 14b05a...fa6902 )
by Daniel
02:41
created

CsvSpy   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getEscapeCharacter() 0 3 1
A getDelimiter() 0 3 1
A getNewline() 0 3 1
A getEnclosure() 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\Csv;
16
17
class CsvSpy extends Csv
18
{
19
    public function getDelimiter()
20
    {
21
        return $this->delimiter;
22
    }
23
24
    public function getEnclosure()
25
    {
26
        return $this->enclosure;
27
    }
28
29
    public function getNewline()
30
    {
31
        return $this->newline;
32
    }
33
34
    public function getEscapeCharacter()
35
    {
36
        return $this->escape;
37
    }
38
}
39