interface PersistedQueryMappingProvider (View source)

Methods

public
array
getQueryMapping(string $schemaKey = 'default')

return a map from to

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

return a query given an ID

public
setSchemaMapping(array $mapping)

Sets mapping of query mapping to schema keys

public
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()

No description

Return Value

array