ClassConfiguration::getTable()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Silk\Configuration;
4
5
/**
6
 * Class ClassConfiguration
7
 * @author  Lucas A. de Araújo <[email protected]>
8
 * @package Silk\Configuration
9
 */
10
class ClassConfiguration
11
{
12
    /**
13
     * @var string
14
     */
15
    private $table;
16
17
    /**
18
     * @var string
19
     */
20
    private $primaryKey;
21
22
    /**
23
     * @return string
24
     */
25
    public function getTable()
26
    {
27
        return $this->table;
28
    }
29
30
    /**
31
     * @param string $table
32
     */
33
    public function setTable($table)
34
    {
35
        $this->table = $table;
36
    }
37
38
    /**
39
     * @return string
40
     */
41
    public function getPrimaryKey()
42
    {
43
        return $this->primaryKey;
44
    }
45
46
    /**
47
     * @param string $primaryKey
48
     */
49
    public function setPrimaryKey($primaryKey)
50
    {
51
        $this->primaryKey = $primaryKey;
52
    }
53
}