Builder   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 3
Bugs 0 Features 0
Metric Value
wmc 1
c 3
b 0
f 0
lcom 0
cbo 2
dl 0
loc 14
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A createBlueprint() 0 4 1
1
<?php namespace Bosnadev\Database\Schema;
2
3
use Closure;
4
5
/**
6
 * Class Builder
7
 * @package Bosnadev\Database\Schema
8
 */
9
class Builder extends \Illuminate\Database\Schema\Builder
10
{
11
    /**
12
     * Create a new command set with a Closure.
13
     *
14
     * @param string $table
15
     * @param Closure $callback
16
     * @return Blueprint
17
     */
18 3
    protected function createBlueprint($table, Closure $callback = null)
19
    {
20 3
        return new Blueprint($table, $callback);
21
    }
22
}
23