add code
This commit is contained in:
parent
7dd81f65d5
commit
dff0cc92e0
36 changed files with 2020 additions and 0 deletions
19
app/src/Infrastructure/Route/Handler.php
Normal file
19
app/src/Infrastructure/Route/Handler.php
Normal 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,
|
||||
) {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue