glastree_on_gitea

This commit is contained in:
2026-05-26 08:14:29 +02:00
commit 0bed099d05
9556 changed files with 1186307 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?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);
}
}