public function Route::getPattern in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::getPattern()
- 8.0 vendor/symfony/routing/Annotation/Route.php \Symfony\Component\Routing\Annotation\Route::getPattern()
Same name and namespace in other branches
- 8 vendor/symfony/routing/Annotation/Route.php \Symfony\Component\Routing\Annotation\Route::getPattern()
Deprecated
since version 2.2, to be removed in 3.0. Use getPath instead.
File
- vendor/
symfony/ routing/ Annotation/ Route.php, line 70
Class
- Route
- Annotation class for @Route().
Namespace
Symfony\Component\Routing\AnnotationCode
public function getPattern() {
@trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.2 and will be removed in 3.0. Use the getPath() method instead and use the "path" option instead of the "pattern" option in the route definition.', E_USER_DEPRECATED);
return $this->path;
}