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