NoTablesJustItemsException   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 23
ccs 0
cts 9
cp 0
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getType() 0 4 1
A getTable() 0 4 1
1
<?php
2
3
namespace UniMan\Core\Exception;
4
5
class NoTablesJustItemsException extends UniManException
6
{
7
    private $type;
8
9
    private $table;
10
11
    public function __construct($type, $table)
12
    {
13
        parent::__construct();
14
        $this->type = $type;
15
        $this->table = $table;
16
    }
17
18
    public function getType()
19
    {
20
        return $this->type;
21
    }
22
23
    public function getTable()
24
    {
25
        return $this->table;
26
    }
27
}
28