protected function createResourceFile($input)
    {

        $this->call(
            'resource-file:from-database',
            [
                'model-name' => $input->modelName,
                '--table-name' => $input->table,
                '--resource-filename' => $input->resourceFile,
                '--translation-for' => $input->translationFor,
                '--force' => $input->force,
            ]
        );

        return $this;
    }
protected function createResourceFile($input)
    {

        $this->call(
            'resource-file:from-database',
            [
                'model-name' => $input->modelName,
                '--table-name' => $input->table,
                '--resource-filename' => $input->resourceFile,
                '--translation-for' => $input->translationFor,
                '--force' => $input->force,
            ]
        );

        return $this;
    }
protected function createResourceFile ( $ input ) { $ this -> call ( 'resource-file:from-database' , [ 'model-name' => $ input -> modelName , '--table-name' => $ input -> table , '--resource-filename' => $ input -> resourceFile , '--translation-for' => $ input -> translationFor , '--force' => $ input -> force , ] ) ; return $ this ; }
Executes the command that generate fields' file.

@param CrestApps\CodeGenerator\Models\ResourceInput $input

@return $this
Executes the command that generate fields file .