public function getRequestHandler()
    {
        if (isset($this->requestHandler))
            return $this->requestHandler;

        // now instantiating handler from config
        $handlerClass = "\\" . ltrim($this->handlerClass, "\\");
        if (!class_exists($handlerClass))
            throw new RuntimeException("Unable to create HTTP Handler instance with class: " . var_export($handlerClass, true));

        $this->requestHandler = new $handlerClass();
        return $this->requestHandler;
    }
public function getRequestHandler()
    {
        if (isset($this->requestHandler))
            return $this->requestHandler;

        // now instantiating handler from config
        $handlerClass = "\\" . ltrim($this->handlerClass, "\\");
        if (!class_exists($handlerClass))
            throw new RuntimeException("Unable to create HTTP Handler instance with class: " . var_export($handlerClass, true));

        $this->requestHandler = new $handlerClass();
        return $this->requestHandler;
    }
public function getRequestHandler ( ) { if ( isset ( $ this -> requestHandler ) ) return $ this -> requestHandler ; // now instantiating handler from config $ handlerClass = "\\" . ltrim ( $ this -> handlerClass , "\\" ) ; if ( ! class_exists ( $ handlerClass ) ) throw new RuntimeException ( "Unable to create HTTP Handler instance with class: " . var_export ( $ handlerClass , true ) ) ; $ this -> requestHandler = new $ handlerClass ( ) ; return $ this -> requestHandler ; }
The getRequestHandler method creates an instance of the
`handlerClass` and returns it.

@return \NEM\Contracts\RequestHandler
The getRequestHandler method creates an instance of the handlerClass and returns it .