PathUrlResolver
class PathUrlResolver implements UrlResolverInterface, ApplicationAwareInterface (View source)
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
protected Application | $app | from ApplicationAwareTrait | |
protected Repository | $config | ||
protected CanonicalUrlResolver | $canonical | ||
protected Dashboard | $dashboard |
Methods
__construct(Repository $repository, CanonicalUrlResolver $canonical_resolver, Dashboard $dashboard)
PathUrlResolver constructor.
URLInterface|null
resolve(array $arguments, URLInterface|null $resolved = null)
Resolve url's from any type of input.
UrlInterface|Url
Details
setApplication(Application $app)
Setter method for the application
__construct(Repository $repository, CanonicalUrlResolver $canonical_resolver, Dashboard $dashboard)
PathUrlResolver constructor.
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.
protected UrlInterface|Url
handlePath(UrlInterface $url, string $path, array $args)
No description
protected Path
basePath(UrlInterface $url, string $path, array $args)
No description