PHP 8.3.31
Preview: EnsurePcntlIsAvailable.php Size: 362 B
/home/getspomw/royalsquad.us/vendor/laravel/pail/src/Guards/EnsurePcntlIsAvailable.php

<?php

namespace Laravel\Pail\Guards;

use RuntimeException;

class EnsurePcntlIsAvailable
{
    /**
     * Checks if the pcntl extension is available.
     */
    public static function check(): void
    {
        if (! function_exists('pcntl_fork')) {
            throw new RuntimeException('The [pcntl] extension is required to run Pail.');
        }
    }
}

Directory Contents

Dirs: 0 × Files: 1

Name Size Perms Modified Actions
362 B lrw-rw-rw- 2025-09-17 06:53:03
Edit Download

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