You are here

public function Route::getSchemes in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::getSchemes()
  2. 8 vendor/symfony/routing/Annotation/Route.php \Symfony\Component\Routing\Annotation\Route::getSchemes()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::getSchemes()

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

vendor/symfony/routing/Route.php, line 235

Class

Route
A Route describes a route and its parameters.

Namespace

Symfony\Component\Routing

Code

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