protected function generateGroupFiles(): void
    {
        foreach($this->languages as $language){
            foreach($this->translation_groups as $group){
                $file = $this->language_folder . $language . "\\" . $group->name . ".php";
                if(!file_exists($file)){
                    $new_file = fopen($file, "a");
                    fclose($new_file);
                    $this->info("Created translation group - $group->name - for language $language.");
                }
            }
        }
    }
protected function generateGroupFiles(): void
    {
        foreach($this->languages as $language){
            foreach($this->translation_groups as $group){
                $file = $this->language_folder . $language . "\\" . $group->name . ".php";
                if(!file_exists($file)){
                    $new_file = fopen($file, "a");
                    fclose($new_file);
                    $this->info("Created translation group - $group->name - for language $language.");
                }
            }
        }
    }
protected function generateGroupFiles ( ) : void { foreach ( $ this -> languages as $ language ) { foreach ( $ this -> translation_groups as $ group ) { $ file = $ this -> language_folder . $ language . "\\" . $ group -> name . ".php" ; if ( ! file_exists ( $ file ) ) { $ new_file = fopen ( $ file , "a" ) ; fclose ( $ new_file ) ; $ this -> info ( "Created translation group - $group->name - for language $language." ) ; } } } }
Generates translation group files for each language if not exists

@return void
Generates translation group files for each language if not exists