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

UnknownTable   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 27
ccs 0
cts 5
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTableName() 0 4 1
A setTableName() 0 6 1
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
}