PHP Class Youshido\GraphQL\Type\Union\AbstractUnionType

Inheritance: extends Youshido\GraphQL\Type\AbstractType, implements Youshido\GraphQL\Type\AbstractInterfaceTypeInterface, use trait Youshido\GraphQL\Config\Traits\ConfigAwareTrait, use trait Youshido\GraphQL\Type\Traits\AutoNameTrait
显示文件 Open project: youshido/graphql Class Usage Examples

Protected Properties

Property Type Description
$isFinal

Public Methods

Method Description
__construct ( $config = [] ) ObjectType constructor.
getKind ( )
getNamedType ( )
getTypes ( ) : AbstractObjectType[] | AbstractScalarType[]
isValidValue ( $value )

Method Details

__construct() public method

ObjectType constructor.
public __construct ( $config = [] )
$config

getKind() public method

public getKind ( )

getNamedType() public method

public getNamedType ( )

getTypes() abstract public method

abstract public getTypes ( ) : AbstractObjectType[] | AbstractScalarType[]
return Youshido\GraphQL\Type\Object\AbstractObjectType[] | Youshido\GraphQL\Type\Scalar\AbstractScalarType[]

isValidValue() public method

public isValidValue ( $value )

Property Details

$isFinal protected_oe property

protected $isFinal