public function Route::setPattern

Same name in this branch

File

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

Class

Route
Annotation class for @Route().

Namespace

Symfony\Component\Routing\Annotation

Code

public function setPattern($pattern) {
  $this->pattern = $pattern;
}