src/Syntax/RemoveForeignKeysFromTable.php
protected function getItem($foreignKey)
    {
        $name = empty($foreignKey['name']) ? $this->createIndexName($foreignKey['field']) : $foreignKey['name'];
        return sprintf("\$table->dropForeign('%s');", $name);
    }
protected function getItem($foreignKey)
    {
        $name = empty($foreignKey['name']) ? $this->createIndexName($foreignKey['field']) : $foreignKey['name'];
        return sprintf("\$table->dropForeign('%s');", $name);
    }
protected function getItem ( $ foreignKey ) { $ name = empty ( $ foreignKey [ 'name' ] ) ? $ this -> createIndexName ( $ foreignKey [ 'field' ] ) : $ foreignKey [ 'name' ] ; return sprintf ( "\$table->dropForeign('%s');" , $ name ) ; }
Return string for dropping a foreign key

@param array $foreignKey
@return string
Return string for dropping a foreign key