/** * {@inheritdoc} * * {@inheritdoc} */ public function has($id) { $this->preHas($id); $result = $this->dataStore->has($id); $this->postHas($result, $id); return $result; }
/** * 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); }