private static function addMessages() {
        $out_data = session()->get('output');
        if ($out_data) {
            foreach ($out_data as $data) {
                self::$debugbar['messages']->debug($data);
            }
            session()->delete('output');
        }
    }
private static function addMessages() {
        $out_data = session()->get('output');
        if ($out_data) {
            foreach ($out_data as $data) {
                self::$debugbar['messages']->debug($data);
            }
            session()->delete('output');
        }
    }
private static function addMessages ( ) { $ out_data = session ( ) -> get ( 'output' ) ; if ( $ out_data ) { foreach ( $ out_data as $ data ) { self :: $ debugbar [ 'messages' ] -> debug ( $ data ) ; } session ( ) -> delete ( 'output' ) ; } }
Collects the messages

@return void
Collects the messages