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.
Public Methods ​
Method | Description |
---|---|
handleArgumentCollection() | Handle an argument collection |
setArgumentManager() | Set the current argument manager. Required for recursive argument preparation. |
handleArgumentCollection()
​
Handle an argument collection
Arguments ​
$argumentList
(array) – Argument list to be used for the query
Returns ​
setArgumentManager()
​
Set the current argument manager. Required for recursive argument preparation.
Arguments ​
$argumentManager
(craft\gql\ArgumentManager)