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

Migrate::getMigrator()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 8
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 13
rs 9.4285
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