This commit is contained in:
Kilian committed 2024-07-12 18:57:24 +02:00
1 parent c5842e58f2
commit 1d93997d82
85 files changed
+11117

No files matched your search

@@ -0,0 +1,22 @@
<?php
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;
}
}