exists() public method

public exists ( string $unique ) : boolean
$unique string
return boolean
Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function isHit()
 {
     if ($this->isHit !== null) {
         return $this->isHit;
     }
     return $this->repository->exists($this->hash);
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function isHit()
 {
     return $this->repository->exists($this->hash);
 }