| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class StorageV2 { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var GlobalContainer $gc |
||
| 15 | * @deprecated |
||
| 16 | */ |
||
| 17 | protected $gc; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var db_mysql |
||
| 21 | */ |
||
| 22 | protected $db; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Core\Repository constructor. |
||
| 26 | * |
||
| 27 | * @param GlobalContainer $gc |
||
| 28 | */ |
||
| 29 | public function __construct(GlobalContainer $gc) { |
||
| 30 | $this->gc = $gc; |
||
|
|
|||
| 31 | $this->db = $gc->db; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param db_mysql $db |
||
| 36 | */ |
||
| 37 | public function setDb(db_mysql $db) { |
||
| 39 | } |
||
| 40 | |||
| 42 |