PHP 8.3.31
Preview: Result.php Size: 461 B
/home/getspomw/royalsquad.us/vendor/laravel/prompts/src/Support/Result.php

<?php

namespace Laravel\Prompts\Support;

/**
 * Result.
 *
 * This is a 'sentinel' value. It wraps a return value, which can
 * allow us to differentiate between a `null` return value and
 * a `null` return value that's intended to continue a loop.
 */
final class Result
{
    public function __construct(public readonly mixed $value)
    {
        //
    }

    public static function from(mixed $value): self
    {
        return new self($value);
    }
}

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
461 B lrw-rw-rw- 2025-09-17 06:52:54
Edit Download
1.13 KB lrw-rw-rw- 2025-09-17 06:52:54
Edit Download

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