Deprecated
Deprecated in 2.2, to be removed in 3.0. Use getPath instead.
File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Annotation/Route.php, line 72
Class
- Route
- Annotation class for @Route().
Namespace
Symfony\Component\Routing\Annotation
Code
public function getPattern() {
return $this->path;
}