attribute-spass/src/Infrastructure/Route/Handler.php
2023-01-25 22:09:06 +01:00

18 lines
440 B
PHP

<?php declare(strict_types=1);
namespace Lubian\AttributeMagic\Infrastructure\Route;
final class Handler
{
/**
* @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,
) {
}
}