aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/Result.php
blob: c3cc64af9686500400c4fcc47498287604a9082b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\Execution;

abstract readonly class Result
{
    /**
     * @param list<int|float|Ref> $values
     */
    final public static function Values(array $values): Results\Values
    {
        return new Results\Values($values);
    }

    final public static function Trap(): Results\Trap
    {
        return new Results\Trap();
    }
}