Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function getSchemaBuilder() |
||
17 | { |
||
18 | $builder = parent::getSchemaBuilder(); |
||
19 | |||
20 | // add a blueprint resolver closure that returns the custom blueprint |
||
21 | $builder->blueprintResolver(function ($table, $callback) { |
||
22 | return new Blueprint($table, $callback); |
||
23 | }); |
||
24 | |||
25 | return $builder; |
||
26 | } |
||
27 | |||
38 |