protected function getCacheKey(Model $model, $type, $allowed = true) { return implode('-', [$this->tag, $type, $model->getMorphClass(), $model->getKey(), $allowed ? 'a' : 'f']); }