Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | 67 | public function getSchemaBuilder() |
|
28 | { |
||
29 | 67 | $parentBuilder = parent::getSchemaBuilder(); |
|
30 | |||
31 | // add a blueprint resolver closure that returns the custom blueprint |
||
32 | 67 | $parentBuilder->blueprintResolver(function ($table, $callback) { |
|
33 | 67 | return new Blueprint($table, $callback); |
|
34 | 67 | }); |
|
35 | |||
36 | 67 | return $parentBuilder; |
|
37 | } |
||
39 |