RelativePaths)) $builder .= " " . implode(separator: ", ", array: $this->RelativePaths); if($this->From != "") $builder .= " FROM $this->From"; if($this->Where != "") $builder .= " WHERE $this->Where"; if($this->InstanceOf != "") $builder .= " INSTANCEOF $this->InstanceOf"; return $builder; } public function RelativePaths(array $relativePaths): SelectQuery { $this->RelativePaths = $relativePaths; return $this; } public function From(string $target): SelectQuery { $this->From = "" . $target; return $this; } public function Where(string $target, DeegraphEqualityOperator $operator, string $value): SelectQuery { $this->Where = "" . $target . " " . $operator->value . " " . $value; return $this; } public function InstanceOf(string $schema): SelectQuery { $this->InstanceOf = "" . $schema; return $this; } }