Spaces:
Sleeping
Sleeping
Download tests/CreatesApplication.php from Anuj-Panthri/Learn-Guide: direct link, hf CLI and curl.
- Browser
- Download file 375 Bytes
-
https://huggingface.co/spaces/Anuj-Panthri/Learn-Guide/resolve/main/tests/CreatesApplication.php
- Command line
-
hf download hf://spaces/Anuj-Panthri/Learn-Guide/tests/CreatesApplication.php
-
curl -L -o CreatesApplication.php https://huggingface.co/spaces/Anuj-Panthri/Learn-Guide/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; | |
| } | |
| } | |