private function copyDistFile(FileInterface $file)
    {
        $distFile = $this->getBaseDirectory()->getFile('config/config.yml.dist');
        $file->write($distFile->read());

        $app = $this->getContainer();
        $app['logger.system']->info(
            sprintf('Copied %s to %s', $distFile->getFullPath(), $file->getFullPath()),
            ['event' => 'extensions']
        );
    }
private function copyDistFile(FileInterface $file)
    {
        $distFile = $this->getBaseDirectory()->getFile('config/config.yml.dist');
        $file->write($distFile->read());

        $app = $this->getContainer();
        $app['logger.system']->info(
            sprintf('Copied %s to %s', $distFile->getFullPath(), $file->getFullPath()),
            ['event' => 'extensions']
        );
    }
private function copyDistFile ( FileInterface $ file ) { $ distFile = $ this -> getBaseDirectory ( ) -> getFile ( 'config/config.yml.dist' ) ; $ file -> write ( $ distFile -> read ( ) ) ; $ app = $ this -> getContainer ( ) ; $ app [ 'logger.system' ] -> info ( sprintf ( 'Copied %s to %s' , $ distFile -> getFullPath ( ) , $ file -> getFullPath ( ) ) , [ 'event' => 'extensions' ] ) ; }
Copy config.yml.dist to extension config dir.

@param FileInterface $file
Copy config . yml . dist to extension config dir .