public function getForModelClassByType($modelClass, $type, $key, $targetModel = null)
    {
        $info = $this->getModelInformation($modelClass);

        if ( ! $info) return false;

        return $this->getForInformationByType($info, $type, $key, $targetModel);
    }
public function getForModelClassByType($modelClass, $type, $key, $targetModel = null)
    {
        $info = $this->getModelInformation($modelClass);

        if ( ! $info) return false;

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