Completed
Push — master ( f09330...3a5f22 )
by ARCANEDEV
04:42
created

Migration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 16
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php namespace Arcanedev\LaravelNotes\Bases;
2
3
use Arcanedev\Support\Database\Migration as BaseMigration;
4
5
/**
6
 * Class     Migration
7
 *
8
 * @package  Arcanedev\LaravelMessenger\Bases
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
abstract class Migration extends BaseMigration
12
{
13
    /* -----------------------------------------------------------------
14
     |  Constructor
15
     | -----------------------------------------------------------------
16
     */
17
18
    /**
19
     * Migration constructor.
20
     */
21 36
    public function __construct()
22
    {
23 36
        $this->setConnection(config('notes.database.connection'));
24 36
        $this->setPrefix(config('notes.database.prefix'));
25 36
    }
26
}
27