\Symfony\Component\HttpFoundationUrlHelper

A helper service for manipulating URLs within and outside the request scope.

Summary

Methods
Properties
Constants
__construct()
getAbsoluteUrl()
getRelativePath()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getAbsoluteUrlFromContext()
$requestStack
$requestContext
N/A

Properties

$requestStack

$requestStack : 

Type

$requestContext

$requestContext : 

Type

Methods

__construct()

__construct(\Symfony\Component\HttpFoundation\RequestStack  $requestStack, \Symfony\Component\Routing\RequestContext  $requestContext = null) 

Parameters

\Symfony\Component\HttpFoundation\RequestStack $requestStack
\Symfony\Component\Routing\RequestContext $requestContext

getAbsoluteUrl()

getAbsoluteUrl(\Symfony\Component\HttpFoundation\string  $path) 

Parameters

\Symfony\Component\HttpFoundation\string $path

getRelativePath()

getRelativePath(\Symfony\Component\HttpFoundation\string  $path) 

Parameters

\Symfony\Component\HttpFoundation\string $path

getAbsoluteUrlFromContext()

getAbsoluteUrlFromContext(\Symfony\Component\HttpFoundation\string  $path) 

Parameters

\Symfony\Component\HttpFoundation\string $path