src/Matcher.php
protected function checkStaticRouteInOtherMethods($targetHttpMethod, $path)
    {
        return array_filter($this->getHttpMethodsBut($targetHttpMethod), function ($httpMethod) use ($path) {
            return (bool) $this->collector->findStaticRoute($httpMethod, $path);
        });
    }
protected function checkStaticRouteInOtherMethods($targetHttpMethod, $path)
    {
        return array_filter($this->getHttpMethodsBut($targetHttpMethod), function ($httpMethod) use ($path) {
            return (bool) $this->collector->findStaticRoute($httpMethod, $path);
        });
    }
protected function checkStaticRouteInOtherMethods ( $ targetHttpMethod , $ path ) { return array_filter ( $ this -> getHttpMethodsBut ( $ targetHttpMethod ) , function ( $ httpMethod ) use ( $ path ) { return ( bool ) $ this -> collector -> findStaticRoute ( $ httpMethod , $ path ) ; } ) ; }
Verify if a static route match in another method than the requested.

@param string $targetHttpMethod The HTTP method that must not be checked
@param string $path              The Path that must be matched.

@return array
Verify if a static route match in another method than the requested .