original_string: public function getRelations($modelName): array
      {
          if (!isset($this->relations[$modelName])) {
              $this->relations[$modelName] = Relations::findRelation($this, $modelName);
          }
  
          return $this->relations[$modelName];
      }
code: public function getRelations($modelName): array
      {
          if (!isset($this->relations[$modelName])) {
              $this->relations[$modelName] = Relations::findRelation($this, $modelName);
          }
  
          return $this->relations[$modelName];
      }
code_tokens: public function getRelations ( $ modelName ) : array { if ( ! isset ( $ this -> relations [ $ modelName ] ) ) { $ this -> relations [ $ modelName ] = Relations :: findRelation ( $ this , $ modelName ) ; } return $ this -> relations [ $ modelName ] ; }
docstring: Get relations by model name
  
  @param  string $modelName
  
  @return RowInterface[]
  @throws RelationNotFoundException
  @throws TableNotFoundException
docstring_tokens: Get relations by model name