| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public static function connection($name) |
||
| 20 | { |
||
| 21 | // Create the schema builder |
||
| 22 | $schema = parent::connection($name); |
||
| 23 | |||
| 24 | // Use the custom blueprint |
||
| 25 | $schema->blueprintResolver(function($table, $callback) { |
||
| 26 | return new Blueprint($table, $callback); |
||
| 27 | }); |
||
| 28 | |||
| 29 | // Return the schema |
||
| 30 | return $schema; |
||
| 31 | } |
||
| 52 |