Lines::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
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