PHP Class GraphQL\Type\Definition\StringType

Inheritance: extends ScalarType
Show file Open project: webonyx/graphql-php

Public Properties

Property Type Description
$description string
$name string

Public Methods

Method Description
parseLiteral ( $ast ) : null | string
parseValue ( mixed $value ) : string
serialize ( mixed $value ) : mixed | string

Method Details

parseLiteral() public method

public parseLiteral ( $ast ) : null | string
$ast
return null | string

parseValue() public method

public parseValue ( mixed $value ) : string
$value mixed
return string

serialize() public method

public serialize ( mixed $value ) : mixed | string
$value mixed
return mixed | string

Property Details

$description public property

public string $description
return string

$name public property

public string $name
return string