/** * Make a new Relationship instance. * * @param string $type * @param \Sgpatil\Orientdb\Eloquent\Model $startModel * @param \Sgpatil\Orientdb\Eloquent\Model $endModel * @param array $properties * @return \\Orientdb\Relationship */ protected function makeRelationship($type, $startModel, $endModel, $properties = array()) { return $this->client->makeRelationship()->setType($type)->setStartNode($startModel)->setEndNode($endModel)->setProperties($properties); }