ArgumentHandler ​
- Type
- Abstract Class
- Namespace
- craft\gql\base
- Inherits
- craft\gql\base\ArgumentHandler
- Implements
- craft\gql\base\ArgumentHandlerInterface
- Extended by
- 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
Class ArgumentHandler
Protected Properties ​
Property | Description |
---|---|
argumentManager | craft\gql\ArgumentManager |
argumentName | string |
argumentManager
​
- Type
- craft\gql\ArgumentManager
- Default value
null
argumentName
​
- Type
- string
- Default value
null
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)
Protected Methods ​
Method | Description |
---|---|
handleArgument() | Handle a single argument value |
handleArgument()
​
Handle a single argument value
Arguments ​
$argumentValue
(mixed
)
Returns ​
mixed