PHP Class Youshido\GraphQL\Type\TypeService

Show file Open project: youshido/graphql Class Usage Examples

Public Methods

Method Description
getPropertyValue ( $data, $path )
isAbstractType ( AbstractType | mixed $type ) : boolean
isGraphQLType ( $type )
isInputObjectType ( $type )
isInputType ( mixed | AbstractType $type ) : boolean
isInterface ( AbstractType | mixed $type ) : boolean
isLeafType ( $type )
isObjectType ( $type )
isScalarType ( $type )
resolveNamedType ( $object )

Protected Methods

Method Description
classify ( $text )

Method Details

classify() protected static method

protected static classify ( $text )

getPropertyValue() public static method

public static getPropertyValue ( $data, $path )

isAbstractType() public static method

public static isAbstractType ( AbstractType | mixed $type ) : boolean
$type AbstractType | mixed
return boolean

isGraphQLType() public static method

public static isGraphQLType ( $type )

isInputObjectType() public static method

public static isInputObjectType ( $type )

isInputType() public static method

public static isInputType ( mixed | AbstractType $type ) : boolean
$type mixed | AbstractType
return boolean

isInterface() public static method

public static isInterface ( AbstractType | mixed $type ) : boolean
$type AbstractType | mixed
return boolean

isLeafType() public static method

public static isLeafType ( $type )

isObjectType() public static method

public static isObjectType ( $type )

isScalarType() public static method

public static isScalarType ( $type )

resolveNamedType() public static method

public static resolveNamedType ( $object )