Let's say I have an action:
public function currentAction()
{
}
And now I need to create a url for this action. $this->generateUrl()The controller method takes the name of the route as an argument. Obviously, I don't have that name as long as I use annotations.
Any workarounds for this?
source
share