Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
22 righe
380 B
22 righe
380 B
<?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; |
|
} |
|
}
|
|
|