コード例 #1
0
 /**
  * @param IdentityInterface $identity
  *
  * @return string
  */
 private function assembleIdKey(IdentityInterface $identity)
 {
     $idKey = IdentityUtils::assembleKey($identity);
     return $idKey;
 }
コード例 #2
0
 /**
  * @inheritdoc
  */
 public function contains(IdentityAwareGetterInterface $object)
 {
     $key = IdentityUtils::assembleKey($object->getIdentity());
     return array_key_exists($key, $this->objects);
 }