DefaultTable::getTableName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

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
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Phuria\UnderQuery\Table;
4
5
/**
6
 * @author Beniamin Jonatan Šimko <[email protected]>
7
 */
8
class DefaultTable extends AbstractTable
9
{
10
    /**
11
     * @var string $tableName
12
     */
13
    private $tableName;
14
15
    /**
16
     * @inheritdoc
17
     */
18 1
    public function getTableName()
19
    {
20 1
        return $this->tableName;
21
    }
22
23
    /**
24
     * @param string $tableName
25
     *
26
     * @return $this
27
     */
28 1
    public function setTableName($tableName)
29
    {
30 1
        $this->tableName = $tableName;
31
32 1
        return $this;
33
    }
34
}