public function exists($unique)
{
if (array_key_exists($unique, $this->unresolved)) {
$this->resolve();
}
return array_key_exists($unique, $this->resolved);
}
/** * {@inheritdoc} */ public function isHit() { if ($this->isHit !== null) { return $this->isHit; } return $this->repository->exists($this->hash); }