| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public static function set($app) |
||
| 10 | { |
||
| 11 | tap($app->make('config'), function (Repository $config) { |
||
| 12 | $config->set('database.connections.arangodb', [ |
||
| 13 | 'name' => 'arangodb', |
||
| 14 | 'driver' => 'arangodb', |
||
| 15 | 'endpoint' => env('DB_ENDPOINT', 'http://localhost:8529'), |
||
| 16 | 'username' => env('DB_USERNAME', 'root'), |
||
| 17 | 'password' => env('DB_PASSWORD', null), |
||
| 18 | 'database' => env('DB_DATABASE', 'aranguent__test'), |
||
| 19 | ]); |
||
| 20 | $config->set('database.default', 'arangodb'); |
||
| 21 | }); |
||
| 24 |