public function allowsRequestMethod($requestMethod) {

		return empty($this->requestMethods) || in_array(strtoupper($requestMethod), $this->requestMethods);

	}
public function allowsRequestMethod($requestMethod) {

		return empty($this->requestMethods) || in_array(strtoupper($requestMethod), $this->requestMethods);

	}
public function allowsRequestMethod ( $ requestMethod ) { return empty ( $ this -> requestMethods ) || in_array ( strtoupper ( $ requestMethod ) , $ this -> requestMethods ) ; }
check whether a request method is allowed with the route

@param string $requestMethod
@return boolean
check whether a request method is allowed with the route