class PageUrlResolver implements UrlResolverInterface (View source)

Properties

protected UrlResolverInterface $pathUrlResolver

Methods

__construct(PathUrlResolver $path_url_resolver)

No description

URLInterface
resolve(array $arguments, URLInterface $resolved = null)

Resolve url's from any type of input.

resolveWithResolver($path, $arguments)

No description

Details

__construct(PathUrlResolver $path_url_resolver)

No description

Parameters

PathUrlResolver $path_url_resolver

URLInterface resolve(array $arguments, URLInterface $resolved = null)

Resolve url's from any type of input.

This method MUST either return a \League\URL\URL when a url is resolved or null when a url cannot be resolved.

Parameters

array $arguments

A list of the arguments

URLInterface $resolved

Return Value

URLInterface

protected resolveWithResolver($path, $arguments)

No description

Parameters

$path
$arguments