Blueprint   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 14
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A passthru() 0 3 1
1
<?php
2
3
namespace ShiftOneLabs\LaravelNomad\Extension\Database\Schema;
4
5
use Illuminate\Database\Schema\Blueprint as BaseBlueprint;
6
7
class Blueprint extends BaseBlueprint
8
{
9
10
    /**
11
     * Create a new column on the table with the given type.
12
     *
13
     * @param string $realType
14
     * @param string $column
15
     * @param string $definition
16
     * @return \Illuminate\Support\Fluent
17
     */
18 1407
    public function passthru($realType, $column, $definition = null)
19
    {
20 1407
        return $this->addColumn('passthru', $column, compact('realType', 'definition'));
21
    }
22
}
23