protected function copyConfigFiles()
    {
        $this->displayMsgNLInCli(' > Copy config files : ');

        //No file to copy
        if ($this->configFilesList === []) {
            $this->displayMsgInCli(' >> ');
            $this->displayMsgNLInCli(
                'No config file declared. Pass',
                'yellow',
                'bold'
            );
            
            return;
        }

        //Create the module directory into the config directory.
        $this->createConfigDirectory();
        
        //Copy manifest json file
        $this->copyConfigFile('manifest.json');

        //Copy each config file declared
        foreach ($this->configFilesList as $configFileName) {
            $this->copyConfigFile($configFileName);
        }
    }
protected function copyConfigFiles()
    {
        $this->displayMsgNLInCli(' > Copy config files : ');

        //No file to copy
        if ($this->configFilesList === []) {
            $this->displayMsgInCli(' >> ');
            $this->displayMsgNLInCli(
                'No config file declared. Pass',
                'yellow',
                'bold'
            );
            
            return;
        }

        //Create the module directory into the config directory.
        $this->createConfigDirectory();
        
        //Copy manifest json file
        $this->copyConfigFile('manifest.json');

        //Copy each config file declared
        foreach ($this->configFilesList as $configFileName) {
            $this->copyConfigFile($configFileName);
        }
    }
protected function copyConfigFiles ( ) { $ this -> displayMsgNLInCli ( ' > Copy config files : ' ) ; //No file to copy if ( $ this -> configFilesList === [ ] ) { $ this -> displayMsgInCli ( ' >> ' ) ; $ this -> displayMsgNLInCli ( 'No config file declared. Pass' , 'yellow' , 'bold' ) ; return ; } //Create the module directory into the config directory. $ this -> createConfigDirectory ( ) ; //Copy manifest json file $ this -> copyConfigFile ( 'manifest.json' ) ; //Copy each config file declared foreach ( $ this -> configFilesList as $ configFileName ) { $ this -> copyConfigFile ( $ configFileName ) ; } }
Create a directory into project config directory for the module and
copy all config files declared to him

@return void
Create a directory into project config directory for the module and copy all config files declared to him