Browse Source

sorted out `__toString()`

dev
Cerys 3 weeks ago
parent
commit
387240e871
  1. 4
      src/QueryBuilder/DirectoryQuery/DirectoryQuery.php
  2. 4
      src/QueryBuilder/InsertQuery/InsertQuery.php
  3. 4
      src/QueryBuilder/ReferencesQuery/ReferencesQuery.php

4
src/QueryBuilder/DirectoryQuery/DirectoryQuery.php

@ -12,6 +12,10 @@ final class DirectoryQuery
{
$this->QueryString = $queryString;
}
public function __toString()
{
return $this->QueryString;
}
public function RunQuery(DeegraphServer $server): DirectoryQueryResponse
{

4
src/QueryBuilder/InsertQuery/InsertQuery.php

@ -23,4 +23,8 @@ final class InsertQuery
if($queryBuilder->Replace) $builder .= "REPLACE";
}
public function __toString()
{
return $this->QueryString;
}
}

4
src/QueryBuilder/ReferencesQuery/ReferencesQuery.php

@ -12,6 +12,10 @@ final class ReferencesQuery
{
$this->QueryString = $queryString;
}
public function __toString()
{
return $this->QueryString;
}
public function RunQuery(DeegraphServer $server): ReferencesQueryResponse
{

Loading…
Cancel
Save