Pagekit\Database\Utility::dropAndCreateForeignKey PHP Метод

dropAndCreateForeignKey() публичный Метод

{@see AbstractSchemaManager::dropAndCreateForeignKey}
public dropAndCreateForeignKey ( Doctrine\DBAL\Schema\ForeignKeyConstraint $foreignKey, $table )
$foreignKey Doctrine\DBAL\Schema\ForeignKeyConstraint
    public function dropAndCreateForeignKey(ForeignKeyConstraint $foreignKey, $table)
    {
        $this->manager->dropAndCreateForeignKey($foreignKey, $this->replacePrefix($table));
    }