original_string: protected function fetchOneToOne($foreign_class, $foreign_column, $column)
      {
          return $foreign_class::selectOne($this->connection)
              ->where($foreign_column, '=', $this->getRaw($column))
              ->execute();
      }
code: protected function fetchOneToOne($foreign_class, $foreign_column, $column)
      {
          return $foreign_class::selectOne($this->connection)
              ->where($foreign_column, '=', $this->getRaw($column))
              ->execute();
      }
code_tokens: protected function fetchOneToOne ( $ foreign_class , $ foreign_column , $ column ) { return $ foreign_class :: selectOne ( $ this -> connection ) -> where ( $ foreign_column , '=' , $ this -> getRaw ( $ column ) ) -> execute ( ) ; }
docstring: Query the database for a one to one relationship.
  
  @param string $foreign_class  The class name of the related entity
  @param string $foreign_column The name of the column on the other table
  @param string $column         The name of column on this table
docstring_tokens: Query the database for a one to one relationship .