HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/dashboard.orbiwheels.com/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);
    }
}