public function getTranslations()
    {
        $translations = array_map(function ($file) {
            return $file['content'];
        }, $this->files);

        return Arr::dot($translations);
    }
public function getTranslations()
    {
        $translations = array_map(function ($file) {
            return $file['content'];
        }, $this->files);

        return Arr::dot($translations);
    }
public function getTranslations ( ) { $ translations = array_map ( function ( $ file ) { return $ file [ 'content' ] ; } , $ this -> files ) ; return Arr :: dot ( $ translations ) ; }
Get locale translations.

@return array
Get locale translations .