public function setForeignKeys(array $foreignKeys)
    {
        $this->foreignKeys = array();

        foreach ($foreignKeys as $foreignKey) {
            $this->addForeignKey($foreignKey);
        }
    }
public function setForeignKeys(array $foreignKeys)
    {
        $this->foreignKeys = array();

        foreach ($foreignKeys as $foreignKey) {
            $this->addForeignKey($foreignKey);
        }
    }
public function setForeignKeys ( array $ foreignKeys ) { $ this -> foreignKeys = array ( ) ; foreach ( $ foreignKeys as $ foreignKey ) { $ this -> addForeignKey ( $ foreignKey ) ; } }
Sets the table foreign keys.

@param array $foreignKeys The table foreign keys.
Sets the table foreign keys .