Completed
Push — master ( 152a7c...c89027 )
by Beniamin
03:17
created

UnknownTable::setTableName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 6
ccs 0
cts 3
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Phuria\SQLBuilder\Table;
4
5
/**
6
 * @author Beniamin Jonatan Šimko <[email protected]>
7
 */
8
class UnknownTable extends AbstractTable
9
{
10
    /**
11
     * @var string $tableName
12
     */
13
    private $tableName;
14
15
    /**
16
     * @inheritdoc
17
     */
18
    public function getTableName()
19
    {
20
        return $this->tableName;
21
    }
22
23
    /**
24
     * @param string $tableName
25
     *
26
     * @return $this
27
     */
28
    public function setTableName($tableName)
29
    {
30
        $this->tableName = $tableName;
31
32
        return $this;
33
    }
34
}