original_string: public function getRelation($modelName): ?RowInterface
      {
          $relations = $this->getRelations($modelName);
          return empty($relations) ? null : current($relations);
      }
code: public function getRelation($modelName): ?RowInterface
      {
          $relations = $this->getRelations($modelName);
          return empty($relations) ? null : current($relations);
      }
code_tokens: public function getRelation ( $ modelName ) : ? RowInterface { $ relations = $ this -> getRelations ( $ modelName ) ; return empty ( $ relations ) ? null : current ( $ relations ) ; }
docstring: Get relation by model name
  
  @param  string $modelName
  
  @return RowInterface
  @throws RelationNotFoundException
  @throws TableNotFoundException
docstring_tokens: Get relation by model name