initial laravel commit

This commit is contained in:
Russ Long
2019-10-29 14:59:29 -04:00
parent df55e9f9b1
commit 0f9d04c7e3
87 changed files with 8258 additions and 5 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;
}
}