Adding Laravel Project

This commit is contained in:
2021-04-06 22:03:54 -07:00
parent 7b07787d56
commit 4caa32eac3
102 changed files with 52520 additions and 0 deletions

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;
}
}