original_string: public function getRelationship($name)
      {
          // If relationship does not exist throw an exception
          if ( ! $this->isRelationship($name)) {
              $exception = new ModelNotFoundException();
              $exception->setModel($name);
              throw $exception;
          }
  
          return $this->relationships[$name];
      }
code: public function getRelationship($name)
      {
          // If relationship does not exist throw an exception
          if ( ! $this->isRelationship($name)) {
              $exception = new ModelNotFoundException();
              $exception->setModel($name);
              throw $exception;
          }
  
          return $this->relationships[$name];
      }
code_tokens: public function getRelationship ( $ name ) { // If relationship does not exist throw an exception if ( ! $ this -> isRelationship ( $ name ) ) { $ exception = new ModelNotFoundException ( ) ; $ exception -> setModel ( $ name ) ; throw $ exception ; } return $ this -> relationships [ $ name ] ; }
docstring: Return the relationship configurations.
  
  @param string $name of related model
  
  @throws Illuminate\Database\Eloquent\ModelNotFoundException
  
  @return array
docstring_tokens: Return the relationship configurations .