context = $context; } public function match($rawPathinfo) { $allow = array(); $pathinfo = rawurldecode($rawPathinfo); $context = $this->context; $request = $this->request ?: $this->createRequest($pathinfo); // ordercomment.set.comment if ('/ordercomment/set/comment' === $pathinfo) { return array ( '_controller' => 'OrderComment\\Controller\\OrderCommentController::setComment', '_route' => 'ordercomment.set.comment',); } throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException(); } }