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