interface PersistedQueryMappingProvider (View source)

Interface PersistedQueryMappingProvider

Methods

array
getQueryMapping(string $schemaKey = 'default')

return a map from to

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

return a query given an ID

mixed
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 getByID(string $queryID, string $schemaKey = 'default')

return a query given an ID

Parameters

string $queryID
string $schemaKey

Return Value

string

mixed setSchemaMapping(array $mapping)

Sets mapping of query mapping to schema keys

Parameters

array $mapping

Return Value

mixed

array getSchemaMapping()

Return Value

array