Overrides UrlMatcher::match
public function match($pathinfo) : array { try { $request = Request::create($pathinfo); } catch (BadRequestException $e) { throw new ResourceNotFoundException($e->getMessage(), $e->getCode(), $e); } return $this->matchRequest($request); }