Lines   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 12
c 1
b 0
f 0
dl 0
loc 43
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace App\Model\Repository\Metro;
6
7
use Nymfonya\Component\Container;
8
use App\Component\Model\Orm\IOrm;
9
use App\Component\Model\Orm\Orm;
10
11
class Lines extends Orm implements IOrm
12
{
13
14
    const _LIGNES = 'lignes';
15
    const _SRC = 'src';
16
    const _HSRC = 'hsrc';
17
    const _DST = 'dst';
18
    const _HDST = 'hdst';
19
    const _DIST = 'dist';
20
21
    /**
22
     * table name
23
     * @var string
24
     */
25
    protected $tablename = 'metro_lines';
26
27
    /**
28
     * table primary key
29
     * @var string
30
     */
31
    protected $primary = 'id';
32
33
    /**
34
     * database name
35
     * @var string
36
     */
37
    protected $database = 'nymfonya';
38
39
    /**
40
     * pool name
41
     * @var string
42
     */
43
    protected $slot = 'test';
44
45
    /**
46
     * instanciate
47
     *
48
     * @param Container $container
49
     * @return self
50
     */
51 2
    public function __construct(Container $container)
52
    {
53 2
        parent::__construct($container);
54
    }
55
}
56