public function Route::hasScheme in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::hasScheme()
Checks if a scheme requirement has been set.
Parameters
string $scheme:
Return value
bool true if the scheme requirement exists, otherwise false
File
- vendor/
symfony/ routing/ Route.php, line 273
Class
- Route
- A Route describes a route and its parameters.
Namespace
Symfony\Component\RoutingCode
public function hasScheme($scheme) {
return in_array(strtolower($scheme), $this->schemes, true);
}