This method uses the "_internal" route, which should be available.
public generateInternalUri ( string $controller, array $attributes = [], array $query = [] ) : string | ||
$controller | string | A controller name to execute (a string like BlogBundle:Post:index), or a relative URI |
$attributes | array | An array of request attributes |
$query | array | An array of request query parameters |
return | string | An internal URI |