PHP Class Youshido\GraphQL\Type\Object\AbstractObjectType

Inheritance: extends Youshido\GraphQL\Type\AbstractType, use trait Youshido\GraphQL\Type\Traits\AutoNameTrait, use trait Youshido\GraphQL\Type\Traits\FieldsArgumentsAwareObjectTrait
Mostrar archivo Open project: youshido/graphql Class Usage Examples

Protected Properties

Property Type Description
$isBuilt

Public Methods

Method Description
__construct ( array $config = [] ) ObjectType constructor.
build ( ObjectTypeConfig $config )
getConfig ( )
getInterfaces ( ) : AbstractInterfaceType[]
getKind ( )
getNamedType ( )
getType ( )
isValidValue ( $value )
serialize ( $value )

Method Details

__construct() public method

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

build() abstract public method

abstract public build ( ObjectTypeConfig $config )
$config Youshido\GraphQL\Config\Object\ObjectTypeConfig

getConfig() public method

public getConfig ( )

getInterfaces() public method

public getInterfaces ( ) : AbstractInterfaceType[]
return Youshido\GraphQL\Type\InterfaceType\AbstractInterfaceType[]

getKind() public method

public getKind ( )

getNamedType() public method

public getNamedType ( )

getType() public method

public getType ( )

isValidValue() public method

public isValidValue ( $value )

serialize() final public method

final public serialize ( $value )

Property Details

$isBuilt protected_oe property

protected $isBuilt