This commit is contained in:
lubiana 2022-11-05 11:55:58 +01:00
parent 7dd81f65d5
commit dff0cc92e0
No known key found for this signature in database
36 changed files with 2020 additions and 0 deletions

View file

@ -0,0 +1,19 @@
<?php declare(strict_types=1);
namespace Lubian\AttributeMagic\Infrastructure\Route;
final class Handler
{
/**
* @param non-empty-string $path
* @param non-empty-string $handlerClass
* @param non-empty-string $handlerMethod
*/
public function __construct(
public readonly HttpMethod $method,
public readonly string $path,
public readonly string $handlerClass,
public readonly string $handlerMethod,
) {
}
}