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
View source (opens new window)
# Protected Properties
Property | Description |
---|---|
argumentManager | craft\gql\ArgumentManager |
argumentName | string (opens new window) |
# argumentManager
- Type
- craft\gql\ArgumentManager
- Default value
null
View source (opens new window)
# argumentName
- Type
- string (opens new window)
- Default value
null
View source (opens new window)
# 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
View source (opens new window)
Arguments
$argumentList
(array (opens new window)) – Argument list to be used for the query
Returns
# setArgumentManager()
Set the current argument manager. Required for recursive argument preparation.
View source (opens new window)
Arguments
$argumentManager
(craft\gql\ArgumentManager)
# Protected Methods
Method | Description |
---|---|
handleArgument() | Handle a single argument value |
# handleArgument()
Handle a single argument value
View source (opens new window)
Arguments
$argumentValue
(mixed
)
Returns
mixed