PHP Class Youshido\GraphQL\Config\Schema\SchemaConfig

Inheritance: extends Youshido\GraphQL\Config\AbstractConfig
ファイルを表示 Open project: youshido/graphql Class Usage Examples

Public Methods

Method Description
__construct ( array $configData, $contextObject = null, $finalClass = false )
getMutation ( ) : ObjectType
getName ( )
getQuery ( ) : AbstractObjectType
getRules ( )
getTypesList ( )
setMutation ( $query ) : SchemaConfig
setQuery ( $query ) : SchemaConfig

Protected Methods

Method Description
build ( )

Method Details

__construct() public method

public __construct ( array $configData, $contextObject = null, $finalClass = false )
$configData array

build() protected method

protected build ( )

getMutation() public method

public getMutation ( ) : ObjectType
return Youshido\GraphQL\Type\Object\ObjectType

getName() public method

public getName ( )

getQuery() public method

public getQuery ( ) : AbstractObjectType
return Youshido\GraphQL\Type\Object\AbstractObjectType

getRules() public method

public getRules ( )

getTypesList() public method

public getTypesList ( )

setMutation() public method

public setMutation ( $query ) : SchemaConfig
$query AbstractObjectType
return SchemaConfig

setQuery() public method

public setQuery ( $query ) : SchemaConfig
$query AbstractObjectType
return SchemaConfig