public function addLines(array $lines, $locale, $namespace = '*')
    {
        foreach ($lines as $key => $value) {
            list($group, $item) = explode('.', $key, 2);
            Arr::set($this->loaded, "$namespace.$group.$locale.$item", $value);
        }
    }
public function addLines(array $lines, $locale, $namespace = '*')
    {
        foreach ($lines as $key => $value) {
            list($group, $item) = explode('.', $key, 2);
            Arr::set($this->loaded, "$namespace.$group.$locale.$item", $value);
        }
    }
public function addLines ( array $ lines , $ locale , $ namespace = '*' ) { foreach ( $ lines as $ key => $ value ) { list ( $ group , $ item ) = explode ( '.' , $ key , 2 ) ; Arr :: set ( $ this -> loaded , "$namespace.$group.$locale.$item" , $ value ) ; } }
Add translation lines to the given locale.

@param  array  $lines
@param  string  $locale
@param  string  $namespace
@return void
Add translation lines to the given locale .