public function Route::getSchemes

Same name in this branch

Returns the lowercased schemes this route is restricted to. So an empty array means that any scheme is allowed.

Return value

array The schemes

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Route.php, line 213

Class

Route
A Route describes a route and its parameters.

Namespace

Symfony\Component\Routing

Code

public function getSchemes() {
  return $this->schemes;
}