public function getMethod(Http\IRequest $httpRequest) { $method = $httpRequest->getMethod(); if (!isset($this->methodDictionary[$method])) { return NULL; } return $this->methodDictionary[$method]; }