exists() 공개 메소드

public exists ( string $unique ) : boolean
$unique string
리턴 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);
 }