Stations   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 10
c 2
b 0
f 0
dl 0
loc 41
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 Stations extends Orm implements IOrm
12
{
13
14
    const _LON = 'lon';
15
    const _LAT = 'lat';
16
    const _NAME = 'name';
17
    const _H = 'h';
18
19
    /**
20
     * table name
21
     * @var string
22
     */
23
    protected $tablename = 'metro_stations';
24
25
    /**
26
     * table primary key
27
     * @var string
28
     */
29
    protected $primary = 'id';
30
31
    /**
32
     * database name
33
     * @var string
34
     */
35
    protected $database = 'nymfonya';
36
37
    /**
38
     * pool name
39
     * @var string
40
     */
41
    protected $slot = 'test';
42
43
    /**
44
     * instanciate
45
     *
46
     * @param Container $container
47
     * @return self
48
     */
49 2
    public function __construct(Container $container)
50
    {
51 2
        parent::__construct($container);
52
    }
53
}
54