original_string: protected function collectRawModels()
      {
          foreach ($this->modelClasses as $class) {
  
              $key = $this->moduleHelper->modelInformationKeyForModel($class);
  
              try {
                  $this->information->put($key, $this->modelAnalyzer->analyze($class));
  
              } catch (\Exception $e) {
  
                  // Wrap and decorate exceptions so it is easier to track the problem source
                  throw (new ModelInformationCollectionException(
                      "Issue analyzing model {$class}: \n{$e->getMessage()}",
                      (int) $e->getCode(),
                      $e
                  ))
                      ->setModelClass($class);
              }
          }
  
          return $this;
      }
code: protected function collectRawModels()
      {
          foreach ($this->modelClasses as $class) {
  
              $key = $this->moduleHelper->modelInformationKeyForModel($class);
  
              try {
                  $this->information->put($key, $this->modelAnalyzer->analyze($class));
  
              } catch (\Exception $e) {
  
                  // Wrap and decorate exceptions so it is easier to track the problem source
                  throw (new ModelInformationCollectionException(
                      "Issue analyzing model {$class}: \n{$e->getMessage()}",
                      (int) $e->getCode(),
                      $e
                  ))
                      ->setModelClass($class);
              }
          }
  
          return $this;
      }
code_tokens: protected function collectRawModels ( ) { foreach ( $ this -> modelClasses as $ class ) { $ key = $ this -> moduleHelper -> modelInformationKeyForModel ( $ class ) ; try { $ this -> information -> put ( $ key , $ this -> modelAnalyzer -> analyze ( $ class ) ) ; } catch ( \ Exception $ e ) { // Wrap and decorate exceptions so it is easier to track the problem source throw ( new ModelInformationCollectionException ( "Issue analyzing model {$class}: \n{$e->getMessage()}" , ( int ) $ e -> getCode ( ) , $ e ) ) -> setModelClass ( $ class ) ; } } return $ this ; }
docstring: Collects information about config-defined app model classes.
  
  @return $this
  @throws ModelInformationCollectionException
docstring_tokens: Collects information about config - defined app model classes .