src/bitExpert/Pathfinder/RouteBuilder.php
public function refusing(string $method) : RouteBuilder
    {
        $method = strtoupper($method);
        $this->methods = array_diff($this->methods, [$method]);

        return $this;
    }
public function refusing(string $method) : RouteBuilder
    {
        $method = strtoupper($method);
        $this->methods = array_diff($this->methods, [$method]);

        return $this;
    }
public function refusing ( string $ method ) : RouteBuilder { $ method = strtoupper ( $ method ) ; $ this -> methods = array_diff ( $ this -> methods , [ $ method ] ) ; return $ this ; }
Removes given method(s) from the set of methods the
route should handle.

@param string $method The HTTP method(s) the route should no longer handle
@return RouteBuilder
Removes given method ( s ) from the set of methods the route should handle .