original_string: protected function getCacheKey()
      {
          $item = UserPreference::forUser();
          $userId = $item->userContext ? $item->userContext->id : 0;
          return $this->recordCode.'-userpreference-'.$userId;
      }
code: protected function getCacheKey()
      {
          $item = UserPreference::forUser();
          $userId = $item->userContext ? $item->userContext->id : 0;
          return $this->recordCode.'-userpreference-'.$userId;
      }
code_tokens: protected function getCacheKey ( ) { $ item = UserPreference :: forUser ( ) ; $ userId = $ item -> userContext ? $ item -> userContext -> id : 0 ; return $ this -> recordCode . '-userpreference-' . $ userId ; }
docstring: Returns a cache key for this record.
docstring_tokens: Returns a cache key for this record .