protected function addMessagesToFile($fileFullname, $messages, $language)
    {
        if (!$this->isFileExists($fileFullname) || $this->option('force')) {
            $this->createMessageToFile($fileFullname, $messages, $language);
        } else {
            $this->appendMessageToFile($fileFullname, $messages);
        }

        return $this;
    }
protected function addMessagesToFile($fileFullname, $messages, $language)
    {
        if (!$this->isFileExists($fileFullname) || $this->option('force')) {
            $this->createMessageToFile($fileFullname, $messages, $language);
        } else {
            $this->appendMessageToFile($fileFullname, $messages);
        }

        return $this;
    }
protected function addMessagesToFile ( $ fileFullname , $ messages , $ language ) { if ( ! $ this -> isFileExists ( $ fileFullname ) || $ this -> option ( 'force' ) ) { $ this -> createMessageToFile ( $ fileFullname , $ messages , $ language ) ; } else { $ this -> appendMessageToFile ( $ fileFullname , $ messages ) ; } return $ this ; }
Adds new messages to a language file. It either creates a new file or append to an existsing file.

@param string $fileFullname
@param string $messages
@param string $language

@return $this
Adds new messages to a language file . It either creates a new file or append to an existsing file .