public function apply(AbstractConnection $connection)
 {
     parent::apply($connection);
     $finder = new Finder();
     $uri = 'file://' . $this->getContentArchiveFolder() . '/cmdl';
     $finder->in($uri)->depth(0);
     /** @var SplFileInfo $file */
     foreach ($finder->files('*.cmdl') as $file) {
         $contentTypeName = $file->getBasename('.cmdl');
         $this->contentTypes[$contentTypeName] = [];
     }
     $finder = new Finder();
     $uri = 'file://' . $this->getContentArchiveFolder() . '/cmdl/config';
     if (file_exists($uri)) {
         $finder->in($uri)->depth(0);
         /** @var SplFileInfo $file */
         foreach ($finder->files('*.cmdl') as $file) {
             $configTypeName = $file->getBasename('.cmdl');
             $this->configTypes[$configTypeName] = [];
         }
     }
 }
 /**
  * @return array
  */
 public function getConfigTypeNames()
 {
     return $this->configuration->getConfigTypeNames();
 }
 public function apply(AbstractConnection $connection)
 {
     parent::apply($connection);
     $connection->setDatabase($this->getDatabase());
 }