AbstractFactory::getDelimiter()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * @author stev leibelt <[email protected]>
4
 * @since 2015-05-06 
5
 */
6
7
namespace Net\Bazzline\Component\Csv;
8
9
/**
10
 * Class AbstractFactory
11
 * @package Net\Bazzline\Component\Csv
12
 */
13
abstract class AbstractFactory implements FactoryInterface
14
{
15
    /**
16
     * @return string
17
     */
18
    protected function getDelimiter()
19
    {
20
        return ',';
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    protected function getEnclosure()
27
    {
28
        return '"';
29
    }
30
31
    /**
32
     * @return string
33
     */
34
    protected function getEscapeCharacter()
35
    {
36
        return "\\";
37
    }
38
}