]> BookStack Code Mirror - bookstack/blob - tests/CreatesApplication.php
Applied StyleCI changes, added php/larastan to attribution
[bookstack] / tests / CreatesApplication.php
1 <?php
2
3 namespace Tests;
4
5 use Illuminate\Contracts\Console\Kernel;
6
7 trait CreatesApplication
8 {
9     /**
10      * Creates the application.
11      *
12      * @return \Illuminate\Foundation\Application
13      */
14     public function createApplication()
15     {
16         $app = require __DIR__ . '/../bootstrap/app.php';
17         $app->make(Kernel::class)->bootstrap();
18
19         return $app;
20     }
21 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.