Example #1
0
 public function execute() : self
 {
     if (null === $this->registry) {
         throw new EmptySetException('Registry not found');
     }
     foreach ($this->registry->getList() as $dist => $ini) {
         $this->writer->write($ini, $this->parser->create($this->update($this->parser->parse($dist), $this->parser->parse($ini))));
     }
     return $this;
 }