Completed
Push — feature/servers-redesign ( 2ca029...06aadf )
by Vladimir
03:58
created

KernelReadyMigration::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 7
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace BZIon\Phinx;
4
5
use AppKernel;
6
use Phinx\Migration\AbstractMigration;
7
8
class KernelReadyMigration extends AbstractMigration
9
{
10
    protected function init()
11
    {
12
        parent::init();
13
14
        $kernel = new AppKernel('prod', false);
15
        $kernel->boot();
16
    }
17
}
18