public function output($remove = true)
    {
        $context = $this->_context;

        foreach ($context->messages as $message) {
            echo $message;
        }

        if ($remove) {
            $context->messages = [];
        }
    }
public function output($remove = true)
    {
        $context = $this->_context;

        foreach ($context->messages as $message) {
            echo $message;
        }

        if ($remove) {
            $context->messages = [];
        }
    }
public function output ( $ remove = true ) { $ context = $ this -> _context ; foreach ( $ context -> messages as $ message ) { echo $ message ; } if ( $ remove ) { $ context -> messages = [ ] ; } }
Prints the messages in the session flasher

@param bool $remove

@return void
Prints the messages in the session flasher