public function setForeignTableName($foreignTableName)
    {
        if (!is_string($foreignTableName) || (strlen($foreignTableName) <= 0)) {
            throw SchemaException::invalidForeignKeyForeignTableName($this->getName());
        }

        $this->foreignTableName = $foreignTableName;
    }
public function setForeignTableName($foreignTableName)
    {
        if (!is_string($foreignTableName) || (strlen($foreignTableName) <= 0)) {
            throw SchemaException::invalidForeignKeyForeignTableName($this->getName());
        }

        $this->foreignTableName = $foreignTableName;
    }
public function setForeignTableName ( $ foreignTableName ) { if ( ! is_string ( $ foreignTableName ) || ( strlen ( $ foreignTableName ) <= 0 ) ) { throw SchemaException :: invalidForeignKeyForeignTableName ( $ this -> getName ( ) ) ; } $ this -> foreignTableName = $ foreignTableName ; }
Sets the foreign table name.

@param string $foreignTableName The foreign table name.

@throws \Fridge\DBAL\Exception\SchemaException If the foreign table name is not a valid string.
Sets the foreign table name .