PHP Class GraphQL\Type\Definition\InputObjectField

Show file Open project: webonyx/graphql-php

Public Properties

Property Type Description
$defaultValue mixed | null
$description string | null
$name string
$type callback | InputType

Public Methods

Method Description
__construct ( array $opts ) InputObjectField constructor.
defaultValueExists ( ) : boolean
getType ( ) : mixed

Method Details

__construct() public method

InputObjectField constructor.
public __construct ( array $opts )
$opts array

defaultValueExists() public method

public defaultValueExists ( ) : boolean
return boolean

getType() public method

public getType ( ) : mixed
return mixed

Property Details

$defaultValue public property

public mixed|null $defaultValue
return mixed | null

$description public property

public string|null $description
return string | null

$name public property

public string $name
return string

$type public property

public callback|InputType $type
return callback | InputType