- /**
- * Returns the pattern for the path.
- *
- * @return string The pattern
- *
- * @deprecated since version 2.2, to be removed in 3.0. Use getPath instead.
- */
- 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.', E_USER_DEPRECATED);
-
- return $this->path;
- }
-
- /**
- * Sets the pattern for the path.
- *
- * This method implements a fluent interface.
- *
- * @param string $pattern The path pattern
- *
- * @return $this
- *
- * @deprecated since version 2.2, to be removed in 3.0. Use setPath instead.
- */
- public function setPattern($pattern)
- {
- @trigger_error('The '.__METHOD__.' method is deprecated since version 2.2 and will be removed in 3.0. Use the setPath() method instead.', E_USER_DEPRECATED);
-
- return $this->setPath($pattern);
- }
-