Methods |
public
static
|
factory(): GameQ
Create a new instance of this class
Create a new instance of this class
|
#
|
public
|
__get(mixed $option): mixed|null
|
#
|
public
|
__set(mixed $option, mixed $value): bool
|
#
|
public
|
getServers()
|
#
|
public
|
getOptions()
|
#
|
public
|
setOption(mixed $var, mixed $value): $this
Chainable call to __set, uses set as the actual setter
Chainable call to __set, uses set as the actual setter
|
#
|
public
|
addServer(array $server_info = []): $this
|
#
|
public
|
addServers(array $servers = []): $this
Add multiple servers in a single call
Add multiple servers in a single call
|
#
|
public
|
addServersFromFiles(array $files = []): $this
Add a set of servers from a file or an array of files.
Supported formats:
JSON
Add a set of servers from a file or an array of files.
Supported formats:
JSON
Throws
|
#
|
public
|
clearServers(): $this
Clear all of the defined servers
Clear all of the defined servers
|
#
|
public
|
addFilter(string $filterName, array $options = []): $this
Add a filter to the processing list
Add a filter to the processing list
|
#
|
public
|
removeFilter(string $filterHash): $this
|
#
|
public
|
listFilters(): array
Return the list of applied filters
Return the list of applied filters
|
#
|
public
|
process(): array
Main method used to actually process all of the added servers and return the information
Main method used to actually process all of the added servers and return the information
Throws
|
#
|
protected
|
doChallenges()
Do server challenges, where required
Do server challenges, where required
|
#
|
protected
|
doQueries()
Run the actual queries and get the response(s)
Run the actual queries and get the response(s)
|
#
|
protected
|
doParseResponse(Server $server): array
Parse the response for a specific server
Parse the response for a specific server
Throws
|
#
|
protected
|
doApplyFilters(array $results, Server $server): array
Apply any filters to the results
Apply any filters to the results
|
#
|