src/Route.php
public function acceptedVerb($verb)
    {

        if (isset($this->verbs[0]) && $this->verbs[0] == static::ANY_METHOD_WILDCARD) {

            return true;
        }

        return in_array(strtoupper($verb), $this->getVerbs(), true);
    }
public function acceptedVerb($verb)
    {

        if (isset($this->verbs[0]) && $this->verbs[0] == static::ANY_METHOD_WILDCARD) {

            return true;
        }

        return in_array(strtoupper($verb), $this->getVerbs(), true);
    }
public function acceptedVerb ( $ verb ) { if ( isset ( $ this -> verbs [ 0 ] ) && $ this -> verbs [ 0 ] == static :: ANY_METHOD_WILDCARD ) { return true ; } return in_array ( strtoupper ( $ verb ) , $ this -> getVerbs ( ) , true ) ; }
Asserts if http verb is accepted

@param string $method
Asserts if http verb is accepted