original_string: public function init()
      {
          $config = $this->grav['config'];
          $this->ignore_files = $config->get('system.pages.ignore_files');
          $this->ignore_folders = $config->get('system.pages.ignore_folders');
          $this->ignore_hidden = $config->get('system.pages.ignore_hidden');
  
          $this->instances = [];
          $this->children = [];
          $this->routes = [];
  
          if (!$this->check_method) {
              $this->setCheckMethod($config->get('system.cache.check.method', 'file'));
          }
  
          $this->buildPages();
      }
code: public function init()
      {
          $config = $this->grav['config'];
          $this->ignore_files = $config->get('system.pages.ignore_files');
          $this->ignore_folders = $config->get('system.pages.ignore_folders');
          $this->ignore_hidden = $config->get('system.pages.ignore_hidden');
  
          $this->instances = [];
          $this->children = [];
          $this->routes = [];
  
          if (!$this->check_method) {
              $this->setCheckMethod($config->get('system.cache.check.method', 'file'));
          }
  
          $this->buildPages();
      }
code_tokens: public function init ( ) { $ config = $ this -> grav [ 'config' ] ; $ this -> ignore_files = $ config -> get ( 'system.pages.ignore_files' ) ; $ this -> ignore_folders = $ config -> get ( 'system.pages.ignore_folders' ) ; $ this -> ignore_hidden = $ config -> get ( 'system.pages.ignore_hidden' ) ; $ this -> instances = [ ] ; $ this -> children = [ ] ; $ this -> routes = [ ] ; if ( ! $ this -> check_method ) { $ this -> setCheckMethod ( $ config -> get ( 'system.cache.check.method' , 'file' ) ) ; } $ this -> buildPages ( ) ; }
docstring: Class initialization. Must be called before using this class.
docstring_tokens: Class initialization . Must be called before using this class .