class PageUrlResolver implements UrlResolverInterface (View source)

Properties

protected PathUrlResolver $pathUrlResolver

Methods

__construct(PathUrlResolver $path_url_resolver)

No description

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

Resolve url's from any type of input.

URLInterface
resolveWithResolver(string $path, array $arguments)

No description

Details

__construct(PathUrlResolver $path_url_resolver)

No description

Parameters

PathUrlResolver $path_url_resolver

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

Resolve url's from any type of input.

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

Parameters

array $arguments

A list of the arguments

URLInterface|null $resolved

Return Value

URLInterface|null

See also

UrlResolverInterface::resolve

protected URLInterface resolveWithResolver(string $path, array $arguments)

No description

Parameters

string $path
array $arguments

Return Value

URLInterface