Esempio n. 1
0
 /**
  * {@inheritdoc}
  *
  * {@inheritdoc}
  */
 public function has($id)
 {
     $this->preHas($id);
     $result = $this->dataStore->has($id);
     $this->postHas($result, $id);
     return $result;
 }
Esempio n. 2
0
 /**
  * Return true if item with that id is present.
  *
  * @param int|string $id PrimaryKey
  * @return bool
  */
 public function has($id)
 {
     return $this->cashStore->has($id);
 }