Google News
logo
Symfony - Interview Questions
Can you tell me what rules do you follow at the time of creating methods within the controller in a symphony?
Some general rules that we follow :
 
* Action methods must have the Action suffix
* Action methods should return a valid response object
* Only action methods should be public
* Controller method should be short
Advertisement