summaryrefslogtreecommitdiff
path: root/tests/Datasets/HttpMethods.php
blob: fa90b14dd5f9e9d221c60140c0455c5551513ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

declare(strict_types=1);

use Lightscale\Router\Enums\HttpMethod;

dataset('http-methods', function (): Generator {
    foreach (HttpMethod::cases() as $m) {
        yield $m->value => $m;
    }
});