src/Shell/Task/CsvModuleTask.php
private function bakeViewsConfig(string $name) : void
    {
        $options = [
            'path' => Configure::read('CsvMigrations.modules.path') . $name . DS . 'views' . DS,
            'ext' => 'json'
        ];

        $this->bake('add.dist', 'Module/views/add', [], '', $options);
        $this->bake('edit.dist', 'Module/views/edit', [], '', $options);
        $this->bake('index.dist', 'Module/views/index', [], '', $options);
        $this->bake('view.dist', 'Module/views/view', [], '', $options);
    }
private function bakeViewsConfig(string $name) : void
    {
        $options = [
            'path' => Configure::read('CsvMigrations.modules.path') . $name . DS . 'views' . DS,
            'ext' => 'json'
        ];

        $this->bake('add.dist', 'Module/views/add', [], '', $options);
        $this->bake('edit.dist', 'Module/views/edit', [], '', $options);
        $this->bake('index.dist', 'Module/views/index', [], '', $options);
        $this->bake('view.dist', 'Module/views/view', [], '', $options);
    }
private function bakeViewsConfig ( string $ name ) : void { $ options = [ 'path' => Configure :: read ( 'CsvMigrations.modules.path' ) . $ name . DS . 'views' . DS , 'ext' => 'json' ] ; $ this -> bake ( 'add.dist' , 'Module/views/add' , [ ] , '' , $ options ) ; $ this -> bake ( 'edit.dist' , 'Module/views/edit' , [ ] , '' , $ options ) ; $ this -> bake ( 'index.dist' , 'Module/views/index' , [ ] , '' , $ options ) ; $ this -> bake ( 'view.dist' , 'Module/views/view' , [ ] , '' , $ options ) ; }
Bake Views configuration files.

@param string $name Module name
@return void
Bake Views configuration files .