src/Manager.php
public function createFile($fileName)
    {
        foreach ($this->languages() as $languageKey) {
            $file = $this->path."/{$languageKey}/{$fileName}.php";
            if (! $this->disk->exists($file)) {
                file_put_contents($file, "<?php \n\n return[];");
            }
        }
    }
public function createFile($fileName)
    {
        foreach ($this->languages() as $languageKey) {
            $file = $this->path."/{$languageKey}/{$fileName}.php";
            if (! $this->disk->exists($file)) {
                file_put_contents($file, "<?php \n\n return[];");
            }
        }
    }
public function createFile ( $ fileName ) { foreach ( $ this -> languages ( ) as $ languageKey ) { $ file = $ this -> path . "/{$languageKey}/{$fileName}.php" ; if ( ! $ this -> disk -> exists ( $ file ) ) { file_put_contents ( $ file , "<?php \n\n return[];" ) ; } } }
Create a file for all languages if does not exist already.

@param $fileName
@return void
Create a file for all languages if does not exist already .