[NFR]: ADR route source

Cerrado
#45 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@niden ya está trabajando en esto.

Desde el 3/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

enhancement
Summary

ADR does not fire router:matchedRoute, so the Route panel stays empty. Feed RouteCollector from adr:beforeExecuteAction.

Current state
  • EventfulHandler fires adr:beforeExecuteAction with the Action as the source and the request as the data.
  • The request holds the route attributes (getAttributes()).
Proposed direction
  • The ADR bridge from #16 attaches to adr:beforeExecuteAction and calls the RouteCollector method from #44.
  • The panel shows the Action class and the attributes. The MVC rows (module, controller and others) do not apply.
Known limit

EventfulHandler is the terminal handler of the pipeline. A middleware that returns early skips this event, so the panel is empty for that request. A URL with no match also leaves the panel empty. Accept this for the first version.

Acceptance
  • In an ADR app, the Route panel shows the Action class and the attributes.
  • The MVC route source is unchanged.
  • Tests pass with full coverage. phpcs and phpstan pass.
Depends on
  • #16
Part of

#13

Lenguaje dominante
PHP
Estrellas
6
Forks
3
Merge medio
3 h 31 min
PR fusionados (30 d)
43

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de phalcon/debugbar

Todos los issues de phalcon/debugbar

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.