original_string: public function getForModelClassByType($modelClass, $type, $key, $targetModel = null)
      {
          $info = $this->getModelInformation($modelClass);
  
          if ( ! $info) return false;
  
          return $this->getForInformationByType($info, $type, $key, $targetModel);
      }
code: public function getForModelClassByType($modelClass, $type, $key, $targetModel = null)
      {
          $info = $this->getModelInformation($modelClass);
  
          if ( ! $info) return false;
  
          return $this->getForInformationByType($info, $type, $key, $targetModel);
      }
code_tokens: public function getForModelClassByType ( $ modelClass , $ type , $ key , $ targetModel = null ) { $ info = $ this -> getModelInformation ( $ modelClass ) ; if ( ! $ info ) return false ; return $ this -> getForInformationByType ( $ info , $ type , $ key , $ targetModel ) ; }
docstring: Returns reference data for a model class, type and key.
  
  @param string      $modelClass
  @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 a model class type and key .