Beispiel #1
0
 /**
  * Outputs a file of the visited tables in order
  *
  * @param Vertices $vertices
  */
 protected function outputVertices(Vertices $vertices)
 {
     if (!$this->exportConstraints) {
         return;
     }
     $path = $this->fileFactory->getPathForFile('constraints', 'txt');
     $this->logger->info('Outputting constraint text to {path}', ['path' => $path]);
     file_put_contents($path, implode("\n", $vertices->getIds()));
 }