PHP Class GraphQL\Type\Definition\InputObjectField

Datei anzeigen 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_oe property

public mixed|null $defaultValue
return mixed | null

$description public_oe property

public string|null $description
return string | null

$name public_oe property

public string $name
return string

$type public_oe property

public callback|InputType $type
return callback | InputType