Spaces:
Running
Running
Download tests/CreatesApplication.php from lisatthu35/ewa: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/tests/CreatesApplication.php
- Command line
-
hf download hf://spaces/lisatthu35/ewa/tests/CreatesApplication.php
-
curl -L -o CreatesApplication.php https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/tests/CreatesApplication.php
380 Bytes
| namespace Tests; | |
| use Illuminate\Contracts\Console\Kernel; | |
| trait CreatesApplication | |
| { | |
| /** | |
| * Creates the application. | |
| * | |
| * @return \Illuminate\Foundation\Application | |
| */ | |
| public function createApplication() | |
| { | |
| $app = require __DIR__.'/../bootstrap/app.php'; | |
| $app->make(Kernel::class)->bootstrap(); | |
| return $app; | |
| } | |
| } | |