Feature Request #2232

Get name from route

Added by Ivan Brotkin about 5 years ago. Updated almost 5 years ago.

Status:ClosedStart date:10/14/2009
Priority:NormalDue date:
Assignee:Woody Gilk% Done:


Target version:v3.0.2
Resolution:fixed Points:


When I set up route, I use name for it (first param in Route::set()). I can get route by its name, but there is no way to get route name from current route.

What about storing route name at protected property (accessible by name() method)? Also, __construct() should use additional $name param...

Using route names may be useful when some App basic actions may be skipped for some kind of routes (route filtering).


#1 Updated by Woody Gilk about 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Woody Gilk
  • Target version set to v3.1.0

#2 Updated by Woody Gilk almost 5 years ago

  • Status changed from Assigned to Closed
  • Target version changed from v3.1.0 to v3.0.2
  • Resolution set to fixed

Also available in: Atom PDF