main
Last change
on this file since 69e9f5d was c454c0f, checked in by bube-ristovska <ristovska725@…>, 11 months ago |
First commit
|
-
Property mode
set to
100644
|
File size:
375 bytes
|
Rev | Line | |
---|
[c454c0f] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | namespace Tests;
|
---|
| 4 |
|
---|
| 5 | use Illuminate\Contracts\Console\Kernel;
|
---|
| 6 | use Illuminate\Foundation\Application;
|
---|
| 7 |
|
---|
| 8 | trait CreatesApplication
|
---|
| 9 | {
|
---|
| 10 | /**
|
---|
| 11 | * Creates the application.
|
---|
| 12 | */
|
---|
| 13 | public function createApplication(): Application
|
---|
| 14 | {
|
---|
| 15 | $app = require __DIR__.'/../bootstrap/app.php';
|
---|
| 16 |
|
---|
| 17 | $app->make(Kernel::class)->bootstrap();
|
---|
| 18 |
|
---|
| 19 | return $app;
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.