code: public function remember($value, $memoryDuration = null)
      {
          if (is_null($memoryDuration)) {
              $memoryDuration = $this->memoryDuration;
          }
  
          $key = $this->getRememberKey();
  
          if (Cache::has($key)) {
              $value = Cache::get($key);
          } else {
              $expiresAt = Carbon::now()->addMinutes($memoryDuration);
  
              if (is_callable($value)) {
                  $value = $value();
              }
  
              Cache::put($key, $value, $expiresAt);
          }
  
          return $value;
      }
docs: Remember the value.
  
  @param mixed $value
  @param int   $memoryDuration
  
  @return mixed