Zend framework 2 generating route url with domain name
Nothing more than this little line of code:
$homeUrl = $this->url( 'youRouteName', array(/* your route params */), array('force_canonical' => true) ); Of course, you need to call …
Coder's Grave
1 min read
⟶