You are here

public function Route::setSchemes in Zircon Profile 8

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

File

vendor/symfony/routing/Annotation/Route.php, line 153

Class

Route
Annotation class for @Route().

Namespace

Symfony\Component\Routing\Annotation

Code

public function setSchemes($schemes) {
  $this->schemes = is_array($schemes) ? $schemes : array(
    $schemes,
  );
}