| Total Complexity | 1 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 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) |
|
| 56 |