Completed
Push — master ( dd341e...ba6dcb )
by Gabriel
07:12
created

Shelves   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 18
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A generateTable() 0 4 1
A generatePrimaryFK() 0 4 1
A generatePrimaryKey() 0 4 1
1
<?php
2
3
namespace Nip\Records\Tests\Fixtures\Records\Shelves;
4
5
/**
6
 * Class Shelves
7
 * @package Nip\Records\Tests\Fixtures\Records\Shelves
8
 */
9
class Shelves extends \Nip\Records\RecordManager
10
{
11
12
    protected function generateTable()
13
    {
14
        return 'shelves';
15
    }
16
17
    public function generatePrimaryFK()
18
    {
19
        return 'id_shelf';
20
    }
21
22
    public function generatePrimaryKey()
23
    {
24
        return 'id';
25
    }
26
}
27