PHP 클래스 GraphQL\Type\Definition\ScalarType

The leaf values of any request and input values to arguments are Scalars (or Enums) and are defined with a name and a series of coercion functions used to ensure validity. Example: var OddType = new GraphQLScalarType({ name: 'Odd', coerce(value) { return value % 2 === 1 ? value : null; } });
상속: extends Type, implements OutputType, implements InputType
파일 보기 프로젝트 열기: webonyx/graphql-php

공개 메소드들

메소드 설명
__construct ( ) ScalarType constructor.

메소드 상세

__construct() 공개 메소드

ScalarType constructor.
public __construct ( )