/** * @param string $name * @return HTTPHandler */ public function GetHTTPHandlerByName($name) { return ArrayUtils::Find($this->httpHandlers, create_function('$handler', "return \$handler->GetName() == '{$name}';")); }