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