Method |
Description |
|
__construct ( Router $route, UrlGenerator $url ) |
|
|
areActiveRoutes ( array $routeNames, string $output = "active" ) : boolean |
Compares given array of route names with current route name. |
|
areActiveURLs ( array $urls, string $output = "active" ) : boolean |
Compares given array of URLs with current URL. |
|
isActiveMatch ( string $string, string $output = "active" ) : boolean |
Detects if the given string is found in the current URL. |
|
isActiveRoute ( string $routeName, string $output = "active" ) : boolean |
Compares given route name with current route name. |
|
isActiveURL ( string $url, string $output = "active" ) : boolean |
Compares given URL with current URL. |
|