PHP Class Youshido\GraphQL\Introspection\InputValueType

Inheritance: extends Youshido\GraphQL\Type\Object\AbstractObjectType
显示文件 Open project: youshido/graphql

Public Methods

Method Description
build ( $config )
getName ( ) : string
resolveDefaultValue ( AbstractSchema | Field $value ) : string | null
resolveType ( AbstractSchema | Field $value ) : Youshido\GraphQL\Type\TypeInterface

Method Details

build() public method

public build ( $config )

getName() public method

public getName ( ) : string
return string type name

resolveDefaultValue() public method

public resolveDefaultValue ( AbstractSchema | Field $value ) : string | null
$value Youshido\GraphQL\Schema\AbstractSchema | Youshido\GraphQL\Field\Field
return string | null //todo implement value printer

resolveType() public method

public resolveType ( AbstractSchema | Field $value ) : Youshido\GraphQL\Type\TypeInterface
$value Youshido\GraphQL\Schema\AbstractSchema | Youshido\GraphQL\Field\Field
return Youshido\GraphQL\Type\TypeInterface