[NFR]: ADR route source

Chiusa
#45 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@niden ci sta già lavorando.

Dal 3/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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

Lingua principale
PHP
Stelle
6
Fork
3
Merge medio
3h 31m
PR unite (30g)
43

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di phalcon/debugbar

Tutte le issue di phalcon/debugbar

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.