first push

This commit is contained in:
Azfar Arsyad
2021-11-14 09:15:18 +08:00
parent 8294af6bb7
commit 55ee876020
130 changed files with 52734 additions and 71 deletions
+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;
}
}