protected function setCollectorHandler(ResultInterface $result)
    {
        $status = $result->getStatus();
        if (is_null($result->getHandler()) && $this->getHandler($status)) {
            // debug message
            $this->debug(Message::get(
                Message::DEBUG_SET_C_HANDLER,
                get_class($this),
                $status
            ));
            $result->setHandler($this->getHandler($status));
        }
        return $this;
    }
protected function setCollectorHandler(ResultInterface $result)
    {
        $status = $result->getStatus();
        if (is_null($result->getHandler()) && $this->getHandler($status)) {
            // debug message
            $this->debug(Message::get(
                Message::DEBUG_SET_C_HANDLER,
                get_class($this),
                $status
            ));
            $result->setHandler($this->getHandler($status));
        }
        return $this;
    }
protected function setCollectorHandler ( ResultInterface $ result ) { $ status = $ result -> getStatus ( ) ; if ( is_null ( $ result -> getHandler ( ) ) && $ this -> getHandler ( $ status ) ) { // debug message $ this -> debug ( Message :: get ( Message :: DEBUG_SET_C_HANDLER , get_class ( $ this ) , $ status ) ) ; $ result -> setHandler ( $ this -> getHandler ( $ status ) ) ; } return $ this ; }
Set collector level handler if result has no handler set yet

@param  ResultInterface $result desc
@return self
@access protected
Set collector level handler if result has no handler set yet