Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | abstract class Migration extends \yii\db\Migration |
||
18 | { |
||
19 | /** |
||
20 | * @var Env |
||
21 | */ |
||
22 | protected $env; |
||
23 | |||
24 | /** |
||
25 | * @param Env $env |
||
26 | * @inheritdoc |
||
27 | */ |
||
28 | public function __construct(Env $env, $config = []) |
||
29 | { |
||
30 | $this->env = $env; |
||
31 | parent::__construct($config); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @inheritdoc |
||
36 | */ |
||
37 | public function binary($length = null) |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @inheritdoc |
||
47 | */ |
||
48 | public function text() |
||
56 |