ZF2 - Generating Url from route
问题 I can't figure out to generate Url from everywhere i want to, in zend 2 I get action and controller so i try this: $this->url('myControllerName', array('action' => 'myActionName')); But this return an object, i just want the full URL string of this route Somebody can help me to find the proper way? EDIT : according to Stoyan, maybe i made a mistake on my route. here is the part of my module.config 'router' => array ( 'routes' => array ( 'indexqvm' => array ( 'type' => 'segment', 'options' =>