✨ Hello world

This commit is contained in:
Shikiryu committed 2022-02-11 17:26:15 +01:00
commit e889bb0977
138 files changed
+147884

No files matched your search

+22
View File
@@ -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;
}
}