/** * {@inheritdoc} */ public function getPath($pattern) { if (isset($pattern)) { return RouteBase::insertParameters($pattern, $this->parameters); } return $this->parameters; }
/** * {@inheritdoc} */ public function fromString($routeString) { $routeString = RouteBase::stripAttributes($routeString, $route); $route['path'] = substr($routeString, 5); return $this->fromArray($route); }