PHP Class GraphQL\Type\Definition\NonNull

Inheritance: extends Type, implements GraphQL\Type\Definition\WrappingType, implements OutputType, implements InputType
Show file Open project: webonyx/graphql-php

Public Methods

Method Description
__construct ( callable | Type $type )
getWrappedType ( boolean $recurse = false ) : mixed
toString ( ) : string

Method Details

__construct() public method

public __construct ( callable | Type $type )
$type callable | Type

getWrappedType() public method

public getWrappedType ( boolean $recurse = false ) : mixed
$recurse boolean
return mixed

toString() public method

public toString ( ) : string
return string