private function isEqualOrAnyMethod($requestType) { return is_array($this->method) ? in_array($requestType, $this->method) : $requestType == $this->method; }