PHP 8.2.30
Preview: CreatesApplication.php Size: 375 B
/home/byroehnu/cnggold.com.ng/tests/CreatesApplication.php

<?php

namespace Tests;

use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Application;

trait CreatesApplication
{
    /**
     * Creates the application.
     */
    public function createApplication(): Application
    {
        $app = require __DIR__.'/../bootstrap/app.php';

        $app->make(Kernel::class)->bootstrap();

        return $app;
    }
}

Directory Contents

Dirs: 2 × Files: 2

Name Size Perms Modified Actions
Feature DIR
- drwxr-xr-x 2025-04-08 04:12:57
Edit Download
Unit DIR
- drwxr-xr-x 2025-04-08 04:12:57
Edit Download
375 B lrw-r--r-- 2025-04-08 04:12:57
Edit Download
163 B lrw-r--r-- 2025-04-08 04:12:57
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).