protected function createLanguage($input)
    {
        if (!$this->option('without-languages')) {
            $this->call(
                'create:language',
                [
                    'model-name' => $input->modelName,
                    '--language-filename' => $input->languageFileName,
                    '--resource-file' => $input->resourceFile,
                    '--template-name' => $input->template,
                    '--force' => $input->force,
                ]
            );
        }

        return $this;
    }
protected function createLanguage($input)
    {
        if (!$this->option('without-languages')) {
            $this->call(
                'create:language',
                [
                    'model-name' => $input->modelName,
                    '--language-filename' => $input->languageFileName,
                    '--resource-file' => $input->resourceFile,
                    '--template-name' => $input->template,
                    '--force' => $input->force,
                ]
            );
        }

        return $this;
    }
protected function createLanguage ( $ input ) { if ( ! $ this -> option ( 'without-languages' ) ) { $ this -> call ( 'create:language' , [ 'model-name' => $ input -> modelName , '--language-filename' => $ input -> languageFileName , '--resource-file' => $ input -> resourceFile , '--template-name' => $ input -> template , '--force' => $ input -> force , ] ) ; } return $ this ; }
Executes the command that generates a language files.

@param CrestApps\CodeGenerator\Models\ResourceInput $input

@return $this
Executes the command that generates a language files .