original_string: protected function processIncludes()
      {
          foreach ($this->getXml()->xpath('/includes/include[@type != "" and @file != ""]') as $include) {
              $processor = $this->getIncludeProcessor((string)$include['type']);
              if (!$processor) {
                  trigger_error(sprintf('No include processor for "%s" available. Did you forget to register it?', (string)$include['type']), E_USER_WARNING);
                  continue;
              }
  
              $file = $this->getModulePath((string)$include['file']);
              $processor->load($file, $this->manifest);
          }
  
          return $this;
      }
code: protected function processIncludes()
      {
          foreach ($this->getXml()->xpath('/includes/include[@type != "" and @file != ""]') as $include) {
              $processor = $this->getIncludeProcessor((string)$include['type']);
              if (!$processor) {
                  trigger_error(sprintf('No include processor for "%s" available. Did you forget to register it?', (string)$include['type']), E_USER_WARNING);
                  continue;
              }
  
              $file = $this->getModulePath((string)$include['file']);
              $processor->load($file, $this->manifest);
          }
  
          return $this;
      }
code_tokens: protected function processIncludes ( ) { foreach ( $ this -> getXml ( ) -> xpath ( '/includes/include[@type != "" and @file != ""]' ) as $ include ) { $ processor = $ this -> getIncludeProcessor ( ( string ) $ include [ 'type' ] ) ; if ( ! $ processor ) { trigger_error ( sprintf ( 'No include processor for "%s" available. Did you forget to register it?' , ( string ) $ include [ 'type' ] ) , E_USER_WARNING ) ; continue ; } $ file = $ this -> getModulePath ( ( string ) $ include [ 'file' ] ) ; $ processor -> load ( $ file , $ this -> manifest ) ; } return $ this ; }
docstring: Process include directives
  
  @return self
docstring_tokens: Process include directives