Creates a Request.
public createRequest ( |
||
$request | The current Request instance | |
$path | string | A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) |
return | A Request instance |