Refactoring

This commit is contained in:
jkaninda committed 2022-09-05 14:41:20 +02:00
1 parent 457f7ee11c
commit bcbd0c7faf
93 files changed
+11092 -48

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