- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
28 lines
521 B
PHP
28 lines
521 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Framework\Core;
|
|
|
|
use App\Framework\Router\ValueObjects\ParameterCollection;
|
|
|
|
interface Route
|
|
{
|
|
public string $controller {get;}
|
|
|
|
public string $action {get;}
|
|
|
|
public array $parameters {get;}
|
|
|
|
public string $name {get;}
|
|
|
|
public string $path {get;}
|
|
|
|
public array $attributes {get;}
|
|
|
|
/**
|
|
* Get type-safe parameter collection (preferred over legacy $parameters array)
|
|
*/
|
|
public function getParameterCollection(): ParameterCollection;
|
|
}
|