PHP Class GraphQL\Type\Definition\ListOfType

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

Public Properties

Property Type Description
$ofType callable | Type

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

Property Details

$ofType public property

public callable|Type,GraphQL\Type\Definition $ofType
return callable | Type