original_string: public function getForInformationByType(ModelInformationInterface $info, $type, $key, $targetModel = null)
      {
          // Find the reference information for type and key specified
          switch ($type) {
  
              case 'form.field':
                  return $this->getInformationReferenceDataForFormField($info, $key, $targetModel);
  
              // Default omitted on purpose
          }
  
          return false;
      }
code: public function getForInformationByType(ModelInformationInterface $info, $type, $key, $targetModel = null)
      {
          // Find the reference information for type and key specified
          switch ($type) {
  
              case 'form.field':
                  return $this->getInformationReferenceDataForFormField($info, $key, $targetModel);
  
              // Default omitted on purpose
          }
  
          return false;
      }
code_tokens: public function getForInformationByType ( ModelInformationInterface $ info , $ type , $ key , $ targetModel = null ) { // Find the reference information for type and key specified switch ( $ type ) { case 'form.field' : return $ this -> getInformationReferenceDataForFormField ( $ info , $ key , $ targetModel ) ; // Default omitted on purpose } return false ; }
docstring: Returns reference data for model information, type and key.
  
  @param ModelInformationInterface $info
  @param string                    $type
  @param string                    $key
  @param string|null               $targetModel    for multiple/nested models, the target to use
  @return ModelMetaReferenceInterface|false
docstring_tokens: Returns reference data for model information type and key .