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

# 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

Returns

mixed

# setArgumentManager()

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

View source (opens new window)

Arguments

# Protected Methods

Method Description
handleArgument() Handle a single argument value

# handleArgument()

Handle a single argument value

View source (opens new window)

Arguments

  • $argumentValue

Returns

mixed