protected function getRid(Proxy $proxy)
    {
        $metadata = $this->getManager()->getClassMetadata(get_parent_class($proxy));

        return $metadata->getIdentifierValues($proxy);
    }
protected function getRid(Proxy $proxy)
    {
        $metadata = $this->getManager()->getClassMetadata(get_parent_class($proxy));

        return $metadata->getIdentifierValues($proxy);
    }
protected function getRid ( Proxy $ proxy ) { $ metadata = $ this -> getManager ( ) -> getClassMetadata ( get_parent_class ( $ proxy ) ) ; return $ metadata -> getIdentifierValues ( $ proxy ) ; }
Gets the rid of the proxy.

@param Proxy $proxy

@return string
Gets the rid of the proxy .