PHP Class Youshido\GraphQL\Type\NonNullType

Inheritance: extends AbstractType, implements Youshido\GraphQL\Type\CompositeTypeInterface, use trait Youshido\GraphQL\Config\Traits\ConfigAwareTrait
Show file Open project: youshido/graphql Class Usage Examples

Public Methods

Method Description
__construct ( AbstractType | string $fieldType ) NonNullType constructor.
getKind ( )
getName ( )
getNamedType ( )
getNullableType ( )
getTypeOf ( )
isCompositeType ( )
isInputType ( )
isValidValue ( $value )
parseValue ( $value )
resolve ( $value )

Method Details

__construct() public method

NonNullType constructor.
public __construct ( AbstractType | string $fieldType )
$fieldType AbstractType | string

getKind() public method

public getKind ( )

getName() public method

public getName ( )

getNamedType() public method

public getNamedType ( )

getNullableType() public method

public getNullableType ( )

getTypeOf() public method

public getTypeOf ( )

isCompositeType() public method

public isCompositeType ( )

isInputType() public method

public isInputType ( )

isValidValue() public method

public isValidValue ( $value )

parseValue() public method

public parseValue ( $value )

resolve() public method

public resolve ( $value )