public function runParser($res, $req, $key = null)
    {
        if ($this->_parser !== null) {
            self::debug('run parser: ', $req->getRawUrl());
            if ($this->_parser instanceof ParseInterface) {
                $this->_parser->parse($res, $req, $key);
            } else {
                call_user_func($this->_parser, $res, $req, $key);
            }
        }
    }
public function runParser($res, $req, $key = null)
    {
        if ($this->_parser !== null) {
            self::debug('run parser: ', $req->getRawUrl());
            if ($this->_parser instanceof ParseInterface) {
                $this->_parser->parse($res, $req, $key);
            } else {
                call_user_func($this->_parser, $res, $req, $key);
            }
        }
    }
public function runParser ( $ res , $ req , $ key = null ) { if ( $ this -> _parser !== null ) { self :: debug ( 'run parser: ' , $ req -> getRawUrl ( ) ) ; if ( $ this -> _parser instanceof ParseInterface ) { $ this -> _parser -> parse ( $ res , $ req , $ key ) ; } else { call_user_func ( $ this -> _parser , $ res , $ req , $ key ) ; } } }
Run parse handler
@param Response $res response object
@param Request $req request object
@param mixed $key the key string of multi request
Run parse handler