MCPcopy Create free account
hub / github.com/CoderOpen/waimai / CreatesApplication

Class CreatesApplication

tests/CreatesApplication.php:8–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6use Illuminate\Contracts\Console\Kernel;
7
8trait CreatesApplication
9{
10 /**
11 * Creates the application.
12 *
13 * @return \Illuminate\Foundation\Application
14 */
15 public function createApplication()
16 {
17 $app = require __DIR__.'/../bootstrap/app.php';
18
19 $app->make(Kernel::class)->bootstrap();
20
21 Hash::setRounds(4);
22
23 return $app;
24 }
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected