Cerys Lewis 5 months ago
parent
commit
f0de6b3702
  1. 25
      src/QueryBuilder/QueryBuilder.php

25
src/QueryBuilder/QueryBuilder.php

@ -2,6 +2,7 @@
namespace Darksparrow\DeegraphInteractions\QueryBuilder; namespace Darksparrow\DeegraphInteractions\QueryBuilder;
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\DeleteQueryBuilder;
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\GrantQueryBuilder; use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\GrantQueryBuilder;
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\InsertQueryBuilder; use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\InsertQueryBuilder;
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\PutQueryBuilder; use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\PutQueryBuilder;
@ -9,23 +10,9 @@ use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\SelectQueryBuild
final class QueryBuilder final class QueryBuilder
{ {
public static function Grant(): GrantQueryBuilder public static function Delete(): DeleteQueryBuilder { return new DeleteQueryBuilder(); }
{ public static function Grant(): GrantQueryBuilder { return new GrantQueryBuilder(); }
return new GrantQueryBuilder(); public static function Insert(): InsertQueryBuilder { return new InsertQueryBuilder(); }
} public static function Put(): PutQueryBuilder { return new PutQueryBuilder(); }
public static function Select(): SelectQueryBuilder { return new SelectQueryBuilder(); }
public static function Insert(): InsertQueryBuilder
{
return new InsertQueryBuilder();
}
public static function Put(): PutQueryBuilder
{
return new PutQueryBuilder();
}
public static function Select(): SelectQueryBuilder
{
return new SelectQueryBuilder();
}
} }

Loading…
Cancel
Save