/** {@inheritDoc} */ public function isComparable(AbstractSnapshot $snapshot) { if (!parent::isComparable($snapshot)) { return false; } return $snapshot->oid === $this->oid; }
public function isComparable(AbstractSnapshot $snapshot) { $refl = new \ReflectionObject($snapshot); return $refl->isAnonymous() || parent::isComparable($snapshot); }