-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Container name changed now that we are using a faster docker-compose. * Put the default token in the Client class as a constant. * Add FetchAll query for fetching all users.
- Loading branch information
Showing
4 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
|
||
namespace Lagoon\Query\Users; | ||
|
||
use Lagoon\LagoonQueryBase; | ||
|
||
/** | ||
* Fetch all projects from Lagoon. | ||
*/ | ||
class FetchAll extends LagoonQueryBase { | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected function expectedKeys() { | ||
return []; | ||
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected function query() { | ||
return <<<'QUERY' | ||
query findAll { | ||
allGroups { | ||
members { | ||
user { | ||
id | ||
} | ||
} | ||
} | ||
} | ||
QUERY; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters