lib/Doctrine/ORM/Query.php
public function getLockMode()
    {
        $lockMode = $this->getHint(self::HINT_LOCK_MODE);

        if ($lockMode === false) {
            return null;
        }

        return $lockMode;
    }
public function getLockMode()
    {
        $lockMode = $this->getHint(self::HINT_LOCK_MODE);

        if ($lockMode === false) {
            return null;
        }

        return $lockMode;
    }
public function getLockMode ( ) { $ lockMode = $ this -> getHint ( self :: HINT_LOCK_MODE ) ; if ( $ lockMode === false ) { return null ; } return $ lockMode ; }
Get the current lock mode for this query.

@return int|null The current lock mode of this query or NULL if no specific lock mode is set.
Get the current lock mode for this query .