StringTypeParser
class StringTypeParser implements TypeParserInterface (View source)
Parses a type, e.g. Int!(20) into an array defining the arg type
Traits
Injectable
Methods
static bool
isInternalType($type)
Returns true if the given type is an internal GraphQL type, e.g. "String" or "Int"
__construct(string $rawArg)
TypeParser constructor.
bool
isRequired()
No description
string
getName()
No description
null
getDefaultValue()
No description
Type
getType(bool $nullable = true)
No description
Details
static bool
isInternalType($type)
Returns true if the given type is an internal GraphQL type, e.g. "String" or "Int"
__construct(string $rawArg)
TypeParser constructor.