DefaultTable   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 27
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1
ccs 5
cts 5
cp 1
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\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
}