public function addLocalColumnName($localColumnName)
    {
        if (!is_string($localColumnName) || (strlen($localColumnName) <= 0)) {
            throw SchemaException::invalidForeignKeyLocalColumnName($this->getName());
        }

        $this->localColumnNames[] = $localColumnName;
    }
public function addLocalColumnName($localColumnName)
    {
        if (!is_string($localColumnName) || (strlen($localColumnName) <= 0)) {
            throw SchemaException::invalidForeignKeyLocalColumnName($this->getName());
        }

        $this->localColumnNames[] = $localColumnName;
    }
public function addLocalColumnName ( $ localColumnName ) { if ( ! is_string ( $ localColumnName ) || ( strlen ( $ localColumnName ) <= 0 ) ) { throw SchemaException :: invalidForeignKeyLocalColumnName ( $ this -> getName ( ) ) ; } $ this -> localColumnNames [ ] = $ localColumnName ; }
Adds a local column name to the foreign key.

@param string $localColumnName The local column name to add.

@throws \Fridge\DBAL\Exception\SchemaException If the local column name is not a valid string.
Adds a local column name to the foreign key .