PHP 8.3.31
Preview: Console.php Size: 536 B
/home/getspomw/royalsquad.us/vendor/laravel/pail/src/ValueObjects/Origin/Console.php

<?php

namespace Laravel\Pail\ValueObjects\Origin;

class Console
{
    /**
     * Creates a new instance of the console origin.
     */
    public function __construct(
        public ?string $command,
    ) {
        //
    }

    /**
     * Creates a new instance of the console origin from the given json string.
     *
     * @param  array{command?: string}  $array
     */
    public static function fromArray(array $array): static
    {
        $command = $array['command'] ?? null;

        return new static($command);
    }
}

Directory Contents

Dirs: 0 × Files: 3

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

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