original_string: public function eTag($var = null)
      {
          if ($var !== null) {
              $this->etag = $var;
          }
          if (!isset($this->etag)) {
              $this->etag = (bool)Grav::instance()['config']->get('system.pages.etag');
          }
  
          return $this->etag;
      }
code: public function eTag($var = null)
      {
          if ($var !== null) {
              $this->etag = $var;
          }
          if (!isset($this->etag)) {
              $this->etag = (bool)Grav::instance()['config']->get('system.pages.etag');
          }
  
          return $this->etag;
      }
code_tokens: public function eTag ( $ var = null ) { if ( $ var !== null ) { $ this -> etag = $ var ; } if ( ! isset ( $ this -> etag ) ) { $ this -> etag = ( bool ) Grav :: instance ( ) [ 'config' ] -> get ( 'system.pages.etag' ) ; } return $ this -> etag ; }
docstring: Gets and sets the option to show the etag header for the page.
  
  @param  bool $var show etag header
  
  @return bool      show etag header
docstring_tokens: Gets and sets the option to show the etag header for the page .