src/TrekkSoft/Potomoco/Parser.php
private function addCurrentMessage()
    {
        if ($this->currentMessage->hasTranslation()) {
            $this->messages[] = $this->currentMessage;
            $this->currentMessage = new Message();
        }
    }
private function addCurrentMessage()
    {
        if ($this->currentMessage->hasTranslation()) {
            $this->messages[] = $this->currentMessage;
            $this->currentMessage = new Message();
        }
    }
private function addCurrentMessage ( ) { if ( $ this -> currentMessage -> hasTranslation ( ) ) { $ this -> messages [ ] = $ this -> currentMessage ; $ this -> currentMessage = new Message ( ) ; } }
Checks whether the current message can be added to the message stack
Checks whether the current message can be added to the message stack