join(",+", $this->ingredients), 'ranking' => $this->ranking, 'number' => $this->number, ]; } public function resolveCacheDriver(): Driver { return new LaravelCacheDriver(Cache::store('redis')); } public function cacheExpiryInSeconds(): int { return 3600; } }