exists() public method

public exists ( string $unique ) : boolean
$unique string
return boolean
示例#1
0
 /**
  * {@inheritdoc}
  */
 public function isHit()
 {
     if ($this->isHit !== null) {
         return $this->isHit;
     }
     return $this->repository->exists($this->hash);
 }
示例#2
0
文件: Item.php 项目: Nyholm/scrapbook
 /**
  * {@inheritdoc}
  */
 public function isHit()
 {
     return $this->repository->exists($this->hash);
 }