if(!$this->tableMapping->isAttributeTable($table)){ thrownewException(sprintf('Provided table is no attribute table: %s', $table)); } if($this->tableMapping->isIdentifierColumn($table, $name)){ thrownewException(sprintf('Provided column is an identifier column: %s', $name)); }
$lowerCaseName = strtolower($name); if(\in_array($lowerCaseName, $this->nameBlacklist)){ thrownewException(sprintf('Provided name %s is a reserved keyword.', $name)); } }