public function addMessages($locale, $group, array $messages, $namespace = null)
    {
        $namespace = $namespace ?: '*';

        $this->messages[$namespace][$locale][$group] = $messages;

        return $this;
    }
public function addMessages($locale, $group, array $messages, $namespace = null)
    {
        $namespace = $namespace ?: '*';

        $this->messages[$namespace][$locale][$group] = $messages;

        return $this;
    }
public function addMessages ( $ locale , $ group , array $ messages , $ namespace = null ) { $ namespace = $ namespace ? : '*' ; $ this -> messages [ $ namespace ] [ $ locale ] [ $ group ] = $ messages ; return $ this ; }
Add messages to the loader.

@param  string  $locale
@param  string  $group
@param  array  $messages
@param  string|null  $namespace
@return $this
Add messages to the loader .