src/Shell/Task/CsvRelationTask.php
private function bakeModuleConfig(array $selection, string $path) : bool
    {
        reset($selection);
        $this->BakeTemplate->set(['display_field' => $this->_modelKey(current($selection))]);

        return $this->createFile(
            $path . implode('', $selection) . DS . 'config' . DS . 'config.dist.json',
            $this->BakeTemplate->generate('CsvMigrations.Relation/config/config')
        );
    }
private function bakeModuleConfig(array $selection, string $path) : bool
    {
        reset($selection);
        $this->BakeTemplate->set(['display_field' => $this->_modelKey(current($selection))]);

        return $this->createFile(
            $path . implode('', $selection) . DS . 'config' . DS . 'config.dist.json',
            $this->BakeTemplate->generate('CsvMigrations.Relation/config/config')
        );
    }
private function bakeModuleConfig ( array $ selection , string $ path ) : bool { reset ( $ selection ) ; $ this -> BakeTemplate -> set ( [ 'display_field' => $ this -> _modelKey ( current ( $ selection ) ) ] ) ; return $ this -> createFile ( $ path . implode ( '' , $ selection ) . DS . 'config' . DS . 'config.dist.json' , $ this -> BakeTemplate -> generate ( 'CsvMigrations.Relation/config/config' ) ) ; }
Bake Relation configuration files.

@param string[] $selection Modules selection
@param string $path Modules root path
@return bool
Bake Relation configuration files .