for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace HnrAzevedo\Router;
use Attribute;
#[Attribute]
class RouteAttribute
{
public function __construct(
private string $uri,
private array $methods,
private string $name,
private ?array $where,
private ?string|Closure $after,
HnrAzevedo\Router\Closure
Closure
\
private ?string|Closure $before,
private ?array $attributes,
private ?array $middleware
) {
echo 1;
}