interface PersistedQueryMappingProvider (View source)

Methods

array
getQueryMapping(string $schemaKey = 'default')

return a map from to

string|null
getByID(string $queryID, string $schemaKey = 'default')

return a query given an ID

setSchemaMapping(array $mapping)

Sets mapping of query mapping to schema keys

array
getSchemaMapping()

No description

Details

array getQueryMapping(string $schemaKey = 'default')

return a map from to

Parameters

string $schemaKey

Return Value

array

string|null getByID(string $queryID, string $schemaKey = 'default')

return a query given an ID

Parameters

string $queryID
string $schemaKey

Return Value

string|null

PersistedQueryMappingProvider setSchemaMapping(array $mapping)

Sets mapping of query mapping to schema keys

Parameters

array $mapping

Return Value

PersistedQueryMappingProvider

array getSchemaMapping()

Return Value

array