lib/Doctrine/DBAL/Connection.php
private function addIdentifierCondition(
        array $identifier,
        array &$columns,
        array &$values,
        array &$conditions
    ) : void {
        $platform = $this->getDatabasePlatform();

        foreach ($identifier as $columnName => $value) {
            if ($value === null) {
                $conditions[] = $platform->getIsNullExpression($columnName);
                continue;
            }

            $columns[]    = $columnName;
            $values[]     = $value;
            $conditions[] = $columnName . ' = ?';
        }
    }
private function addIdentifierCondition(
        array $identifier,
        array &$columns,
        array &$values,
        array &$conditions
    ) : void {
        $platform = $this->getDatabasePlatform();

        foreach ($identifier as $columnName => $value) {
            if ($value === null) {
                $conditions[] = $platform->getIsNullExpression($columnName);
                continue;
            }

            $columns[]    = $columnName;
            $values[]     = $value;
            $conditions[] = $columnName . ' = ?';
        }
    }
private function addIdentifierCondition ( array $ identifier , array & $ columns , array & $ values , array & $ conditions ) : void { $ platform = $ this -> getDatabasePlatform ( ) ; foreach ( $ identifier as $ columnName => $ value ) { if ( $ value === null ) { $ conditions [ ] = $ platform -> getIsNullExpression ( $ columnName ) ; continue ; } $ columns [ ] = $ columnName ; $ values [ ] = $ value ; $ conditions [ ] = $ columnName . ' = ?' ; } }
Adds identifier condition to the query components

@param mixed[]  $identifier Map of key columns to their values
@param string[] $columns    Column names
@param mixed[]  $values     Column values
@param string[] $conditions Key conditions

@throws DBALException
Adds identifier condition to the query components