Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Getting all routes from a controller?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dustinT  
View profile  
 More options Oct 5 2012, 3:22 pm
From: dustinT <victor.ge...@googlemail.com>
Date: Fri, 5 Oct 2012 12:22:08 -0700 (PDT)
Local: Fri, Oct 5 2012 3:22 pm
Subject: Getting all routes from a controller?

Hi there,

yesterday I started to find out a way to get all routes from one single
controller.
Is there any way to do that without reparse the controller annotations
again or iterate through the routes=>controller in the router?

regards

dustin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Juan Martín Díaz  
View profile  
 More options Oct 5 2012, 4:40 pm
From: Juan Martín Díaz <jmdiaz...@gmail.com>
Date: Fri, 5 Oct 2012 17:40:50 -0300
Local: Fri, Oct 5 2012 4:40 pm
Subject: Re: [Symfony2] Getting all routes from a controller?

You can find all routes for the application but not for a controller:
app/console router:debug

But...
By the name of the route or the pattern you should be able to recognize
which routes are the corresponding to your controller.
The output of that command is Route name / HTTP Method / Pattern.

El viernes, 5 de octubre de 2012, dustinT escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »