public function exportToDebugBar(DebugBar $debugBar)
    {
        $archive = $this->getCollectionRaw();

        foreach ($archive as $logentry) {
            if (false === empty($logentry)) {
                $debugBar['messages']->{$logentry['type']}($logentry['message']);
            }
        }

        /*
        $messagesCollector = new \DebugBar\DataCollector\MessagesCollector('Uprofiler');
        $messagesCollector->setDataFormatter(
            new Doozr_Formatter_Default()
        );
        $messagesCollector->addMessage('<a href="/uprofiler/index.php">link</a>');
        $debugBar->addCollector($messagesCollector);
        */

        return $debugBar;
    }
public function exportToDebugBar(DebugBar $debugBar)
    {
        $archive = $this->getCollectionRaw();

        foreach ($archive as $logentry) {
            if (false === empty($logentry)) {
                $debugBar['messages']->{$logentry['type']}($logentry['message']);
            }
        }

        /*
        $messagesCollector = new \DebugBar\DataCollector\MessagesCollector('Uprofiler');
        $messagesCollector->setDataFormatter(
            new Doozr_Formatter_Default()
        );
        $messagesCollector->addMessage('<a href="/uprofiler/index.php">link</a>');
        $debugBar->addCollector($messagesCollector);
        */

        return $debugBar;
    }
public function exportToDebugBar ( DebugBar $ debugBar ) { $ archive = $ this -> getCollectionRaw ( ) ; foreach ( $ archive as $ logentry ) { if ( false === empty ( $ logentry ) ) { $ debugBar [ 'messages' ] -> { $ logentry [ 'type' ] } ( $ logentry [ 'message' ] ) ; } } /*
        $messagesCollector = new \DebugBar\DataCollector\MessagesCollector('Uprofiler');
        $messagesCollector->setDataFormatter(
            new Doozr_Formatter_Default()
        );
        $messagesCollector->addMessage('<a href="/uprofiler/index.php">link</a>');
        $debugBar->addCollector($messagesCollector);
        */ return $ debugBar ; }
Exports to current log entries to a debug bar instance.

@param DebugBar $debugBar An debugBar Instance to output content to

@return DebugBar The debugbar instance added messages
Exports to current log entries to a debug bar instance .