original_string: protected function getReferencingModel($name)
      {
          if (!$this->isRelationMapped($name)) {
              return null;
          }
  
          $table = $this->getReferencingTable($name);
          $model = static::getModelFromTable($table);
  
          return $model;
      }
code: protected function getReferencingModel($name)
      {
          if (!$this->isRelationMapped($name)) {
              return null;
          }
  
          $table = $this->getReferencingTable($name);
          $model = static::getModelFromTable($table);
  
          return $model;
      }
code_tokens: protected function getReferencingModel ( $ name ) { if ( ! $ this -> isRelationMapped ( $ name ) ) { return null ; } $ table = $ this -> getReferencingTable ( $ name ) ; $ model = static :: getModelFromTable ( $ table ) ; return $ model ; }
docstring: Gets the referenced model via its table using relation name.
  
  @param $name
  
  @return string
docstring_tokens: Gets the referenced model via its table using relation name .