interface ResolverManagerInterface (View source)

Methods

getResolver(string $handle)

No description

addResolver(string $handle, UrlResolverInterface $resolver, int $priority = 512)

No description

URLInterface
resolve(array $args)

Resolve a URI.

Details

UrlResolverInterface|null getDefaultResolver()

Return Value

UrlResolverInterface|null

UrlResolverInterface|null getResolver(string $handle)

Parameters

string $handle

Return Value

UrlResolverInterface|null

addResolver(string $handle, UrlResolverInterface $resolver, int $priority = 512)

Parameters

string $handle
UrlResolverInterface $resolver
int $priority the order in which we ask for a url, 1 is first, 1024 is last

URLInterface resolve(array $args)

Resolve a URI.

Parameters

array $args this can be an array of any information

Return Value

URLInterface