public function getObjectIdentity($object)
    {
        foreach ($this->configurations as $config) {
            if ($config->isRelevant($object)) {
                return $config->getObjectIdentity();
            }
        }

        return null;
    }
public function getObjectIdentity($object)
    {
        foreach ($this->configurations as $config) {
            if ($config->isRelevant($object)) {
                return $config->getObjectIdentity();
            }
        }

        return null;
    }
public function getObjectIdentity ( $ object ) { foreach ( $ this -> configurations as $ config ) { if ( $ config -> isRelevant ( $ object ) ) { return $ config -> getObjectIdentity ( ) ; } } return null ; }
Returns the object identity.

@param object $object

@return \Symfony\Component\Security\Acl\Domain\ObjectIdentity|null
Returns the object identity .