Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Route.php

function Route::getSchemes

Same name in this branch
  1. 11.1.x vendor/symfony/routing/Attribute/Route.php \Symfony\Component\Routing\Attribute\Route::getSchemes()

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

Return value

string[]

File

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

Class

Route
A Route describes a route and its parameters.

Namespace

Symfony\Component\Routing

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal