move code to repository root
This commit is contained in:
parent
47e227257c
commit
9ce2c0ae4c
35 changed files with 2025 additions and 0 deletions
18
src/Infrastructure/Route/Handler.php
Normal file
18
src/Infrastructure/Route/Handler.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?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,
|
||||
) {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue