Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | public function index() |
||
22 | { |
||
23 | $databaseData = (object) app(DatabaseTraverser::class)->getAll(); |
||
24 | |||
25 | return view('Prequel::main', [ |
||
26 | 'env' => [ |
||
27 | 'connection' => config('database.default'), |
||
28 | 'database' => config('database.connections.mysql.database'), |
||
29 | 'host' => config('database.connections.mysql.host'), |
||
30 | 'port' => config('database.connections.mysql.port'), |
||
31 | 'user' => config('database.connections.mysql.username'), |
||
32 | ], |
||
33 | 'data' => [ |
||
34 | 'collection' => $databaseData->collection, |
||
35 | 'flatTableCollection' => $databaseData->flatTableCollection, |
||
36 | ], |
||
40 |