expiration ?? new \DateTime('now +1 year'); } /** * Returns the raw value, regardless of hit status. * * Although not part of the CacheItemInterface, this method is used by * the pool for extracting information for saving. * * @return mixed * * @internal */ public function getRawValue(): mixed { return $this->value; } }