Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo::getIdentifierValues PHP Method

getIdentifierValues() public method

Since MongoDB only allows exactly one identifier field this is a proxy to {@see \getIdentifierValue()} and returns an array with the identifier field as a key.
public getIdentifierValues ( $object )
    public function getIdentifierValues($object)
    {
        return array($this->identifier => $this->getIdentifierValue($object));
    }
ClassMetadataInfo