PHP Class Youshido\GraphQL\Schema\AbstractSchema

Show file Open project: youshido/graphql Class Usage Examples

Protected Properties

Property Type Description
$config Youshido\GraphQL\Config\Schema\SchemaConfig

Public Methods

Method Description
__construct ( $config = [] )
addMutationField ( $field, $fieldInfo = null )
addQueryField ( $field, $fieldInfo = null )
build ( SchemaConfig $config )
getMutationType ( )
getName ( )
getQueryType ( )
getTypesList ( ) : SchemaTypesList

Method Details

__construct() public method

public __construct ( $config = [] )

addMutationField() public method

public addMutationField ( $field, $fieldInfo = null )

addQueryField() public method

public addQueryField ( $field, $fieldInfo = null )

build() abstract public method

abstract public build ( SchemaConfig $config )
$config Youshido\GraphQL\Config\Schema\SchemaConfig

getMutationType() final public method

final public getMutationType ( )

getName() public method

public getName ( )

getQueryType() final public method

final public getQueryType ( )

getTypesList() public method

public getTypesList ( ) : SchemaTypesList
return Youshido\GraphQL\Type\SchemaTypesList

Property Details

$config protected property

protected SchemaConfig,Youshido\GraphQL\Config\Schema $config
return Youshido\GraphQL\Config\Schema\SchemaConfig