ClassConfiguration   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 4
c 2
b 0
f 0
lcom 0
cbo 0
dl 0
loc 44
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getTable() 0 4 1
A setTable() 0 4 1
A getPrimaryKey() 0 4 1
A setPrimaryKey() 0 4 1
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
}