| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 5 | ||
| Bugs | 3 | Features | 0 |
| 1 | <?php |
||
| 28 | public function register() |
||
| 29 | { |
||
| 30 | $this->app->resolving('db', function ($db) { |
||
| 31 | $db->extend('rethinkdb', function ($config) { |
||
| 32 | return new Connection($config); |
||
| 33 | }); |
||
| 34 | }); |
||
| 35 | |||
| 36 | $this->app->singleton('command.rethink-migrate.make', function ($app) { |
||
| 37 | |||
| 38 | $creator = new MigrationCreator($app['files']); |
||
| 39 | $composer = $app['composer']; |
||
| 40 | |||
| 41 | return new MigrateMakeCommand($creator, $composer); |
||
| 42 | }); |
||
| 43 | |||
| 44 | $this->commands('command.rethink-migrate.make'); |
||
| 45 | } |
||
| 46 | |||
| 52 |