Skip to content

ArgumentHandlerInterface

Type
Interface
Namespace
craft\gql\base
Implemented by
craft\gql\base\ArgumentHandler, craft\gql\base\RelationArgumentHandler, craft\gql\handlers\RelatedAssets, craft\gql\handlers\RelatedCategories, craft\gql\handlers\RelatedEntries, craft\gql\handlers\RelatedTags, craft\gql\handlers\RelatedUsers, craft\gql\handlers\Site, craft\gql\handlers\SiteId
Since
3.6.0

ArgumentHandlerInterface defines the common interface to be implemented by all argument handler classes.

View source

Public Methods

MethodDescription
handleArgumentCollection()Handle an argument collection
setArgumentManager()Set the current argument manager. Required for recursive argument preparation.

handleArgumentCollection()

Handle an argument collection

View source

Arguments

  • $argumentList (array) – Argument list to be used for the query

Returns

array

setArgumentManager()

Set the current argument manager. Required for recursive argument preparation.

View source

Arguments