public function getTableForeignKeys($tableName = null, $connectionName = null)
    {
        $tableName = $this->validateTableName($tableName);

        return $this->getSchema($connectionName)->listTableForeignKeys($tableName);
    }
public function getTableForeignKeys($tableName = null, $connectionName = null)
    {
        $tableName = $this->validateTableName($tableName);

        return $this->getSchema($connectionName)->listTableForeignKeys($tableName);
    }
public function getTableForeignKeys ( $ tableName = null , $ connectionName = null ) { $ tableName = $ this -> validateTableName ( $ tableName ) ; return $ this -> getSchema ( $ connectionName ) -> listTableForeignKeys ( $ tableName ) ; }
Get table foreign key information

@param string      $tableName      table name
@param string|null $connectionName database connection name (if null default connection is used)

@return \Doctrine\DBAL\Schema\ForeignKeyConstraint[]
Get table foreign key information