original_string: protected function generateKey(QueryCacheBuilder $builder, array $columns)
      {
          $sql = $builder->select($columns)->toSql();
          $whereClause = serialize($builder->getBindings());
  
          return sha1($sql.$whereClause);
      }
code: protected function generateKey(QueryCacheBuilder $builder, array $columns)
      {
          $sql = $builder->select($columns)->toSql();
          $whereClause = serialize($builder->getBindings());
  
          return sha1($sql.$whereClause);
      }
code_tokens: protected function generateKey ( QueryCacheBuilder $ builder , array $ columns ) { $ sql = $ builder -> select ( $ columns ) -> toSql ( ) ; $ whereClause = serialize ( $ builder -> getBindings ( ) ) ; return sha1 ( $ sql . $ whereClause ) ; }
docstring: Generates the cache key.
  
  @param QueryCacheBuilder $builder
  @param array             $columns
  
  @return string
docstring_tokens: Generates the cache key .