Completed
Push — dev ( 122982...5e45c8 )
by Zach
02:18
created

Migrate::configure()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 6
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