protected function configure(MetaQuery $metaQuery)
 {
     try {
         if (!$this->tables && !$this->tableIdConstants && !$this->entities) {
             throw new \RuntimeException(get_class($this) . ' wurde weder mit Tabellennamen, Tabellen-Ids oder Entitätsnamen konfiguriert.');
         }
         if ($this->tables) {
             $metaQuery->addTable($this->tables);
         }
         if ($this->tableIdConstants) {
             $metaQuery->addTable(array_map(function ($x) {
                 return constant($x);
             }, $this->tableIdConstants));
         }
         if ($this->entities) {
             $metaQuery->addEntityClasses($this->entities);
         }
     } catch (\Exception $e) {
         throw new \RuntimeException("Exception während der Konfiguration von MetaQuery durch " . get_class($this), 0, $e);
     }
 }
 public function addWfdTableDependency($tables)
 {
     trigger_error('The addWfdTableDependency() setter is deprecated. Configure the MetaQuery instead.', E_USER_DEPRECATED);
     $this->metaQuery->addTable($tables);
 }
 public function addTableDependency($tables)
 {
     $this->metaQuery->addTable($tables);
 }