Completed
Push — master ( 4deee6...b383ba )
by Zach
05:43 queued 03:44
created

Migrate::execute()   A

Complexity

Conditions 4
Paths 4

Size

Total Lines 16
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 4
eloc 11
c 0
b 0
f 0
nc 4
nop 2
dl 0
loc 16
rs 9.2
1
<?php
2
3
namespace Yarak\Commands;
4
5
use Yarak\Console\YarakCommand;
6
7
class Migrate extends YarakCommand
8
{
9
    /**
10
     * The command signature.
11
     *
12
     * @var string
13
     */
14
    protected $signature = 'migrate';
15
16
    /**
17
     * The command description.
18
     *
19
     * @var string
20
     */
21
    protected $description = 'Run the database migrations.';
22
23
    /**
24
     * Handle the command.
25
     */
26
    protected function handle()
27
    {
28
        $this->getMigrator($this->getOutput())->run();
29
    }
30
}
31