暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CreatesApplication.php 380B

12345678910111213141516171819202122
  1. <?php
  2. namespace Tests;
  3. use Illuminate\Contracts\Console\Kernel;
  4. trait CreatesApplication
  5. {
  6. /**
  7. * Creates the application.
  8. *
  9. * @return \Illuminate\Foundation\Application
  10. */
  11. public function createApplication()
  12. {
  13. $app = require __DIR__.'/../bootstrap/app.php';
  14. $app->make(Kernel::class)->bootstrap();
  15. return $app;
  16. }
  17. }