I need to generate full URL with symfony, for now I have :
$this->generateUrl('my_route', array('type' => 'param')
This function generate something like : /my_project/xxxxxxxxx
Is there a function like generateUrl
for generate a fully URL ? I need the HTTP and the domain name.
I know I can add them manually but If there is a function for that it's better.
Thanks