protected function add($type, $message, ...$text): void
    {
        $this->getMessagesStore()[$type][] = Translator::translate($message, ...$text);
    }
protected function add($type, $message, ...$text): void
    {
        $this->getMessagesStore()[$type][] = Translator::translate($message, ...$text);
    }
protected function add ( $ type , $ message , ... $ text ) : void { $ this -> getMessagesStore ( ) [ $ type ] [ ] = Translator :: translate ( $ message , ... $ text ) ; }
Add message to container

@param  string   $type One of error, notice or success
@param  string   $message
@param  string[] $text

@return void
Add message to container