/** * Get the pattern filters for a given URI and method. * * @param string $uri * @param string $method * @return array */ protected function getMethodPatterns($uri, $method) { return $this->router->findPatternFilters(Request::create($uri, $method)); }