original_string: public function enrich(ModelInformationInterface $info, $allInformation = null)
      {
          $this->info = $info;
          $class = $this->info->modelClass();
          $this->model = new $class;
  
          $this->allInfo = $allInformation;
  
          $this->performEnrichment();
  
          return $this->info;
      }
code: public function enrich(ModelInformationInterface $info, $allInformation = null)
      {
          $this->info = $info;
          $class = $this->info->modelClass();
          $this->model = new $class;
  
          $this->allInfo = $allInformation;
  
          $this->performEnrichment();
  
          return $this->info;
      }
code_tokens: public function enrich ( ModelInformationInterface $ info , $ allInformation = null ) { $ this -> info = $ info ; $ class = $ this -> info -> modelClass ( ) ; $ this -> model = new $ class ; $ this -> allInfo = $ allInformation ; $ this -> performEnrichment ( ) ; return $ this -> info ; }
docstring: Performs enrichment on model information.
  
  Optionally takes all model information known as context.
  
  @param ModelInformationInterface|ModelInformation                     $info
  @param Collection|ModelInformationInterface[]|ModelInformation[]|null $allInformation
  @return ModelInformationInterface|ModelInformation
docstring_tokens: Performs enrichment on model information .