Silber\Bouncer\CachedClipboard::getCacheKey PHP Метод

getCacheKey() защищенный Метод

Get the cache key for the given model's cache type.
protected getCacheKey ( Model $model, string $type, boolean $allowed = true ) : string
$model Illuminate\Database\Eloquent\Model
$type string
$allowed boolean
Результат string
    protected function getCacheKey(Model $model, $type, $allowed = true)
    {
        return implode('-', [$this->tag, $type, $model->getMorphClass(), $model->getKey(), $allowed ? 'a' : 'f']);
    }