Returns the pattern for the path.
Return value
string The pattern
Deprecated
Deprecated in 2.2, to be removed in 3.0. Use getPath instead.
File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Route.php, line 130
Class
- Route
- A Route describes a route and its parameters.
Namespace
Symfony\Component\Routing
Code
public function getPattern() {
return $this->path;
}