protected function _afterControllerGet(AnCommandContext $context)
    {
        $flash = $this->_mixer->getState()->flash;
        $message = $flash->getMessage();

        if ($message) {
            $message['message'] = AnTranslator::_($message['message']);
            $this->storeValue('message', $message, true);
        }
    }
protected function _afterControllerGet(AnCommandContext $context)
    {
        $flash = $this->_mixer->getState()->flash;
        $message = $flash->getMessage();

        if ($message) {
            $message['message'] = AnTranslator::_($message['message']);
            $this->storeValue('message', $message, true);
        }
    }
protected function _afterControllerGet ( AnCommandContext $ context ) { $ flash = $ this -> _mixer -> getState ( ) -> flash ; $ message = $ flash -> getMessage ( ) ; if ( $ message ) { $ message [ 'message' ] = AnTranslator :: _ ( $ message [ 'message' ] ) ; $ this -> storeValue ( 'message' , $ message , true ) ; } }
If the message is still in the flash, push that to the global
message stack. This gives a chance for the message to be seen.

@param AnCommandContext $context
If the message is still in the flash push that to the global message stack . This gives a chance for the message to be seen .