interface SchemaModelInterface (View source)

Implementors of this interface can be models that generate types and operations

Methods

public static 
string
getIdentifier()

No description

public
bool
hasField(string $fieldName)

No description

public
ModelField|null
getField(string $fieldName, array $config = [])

No description

public
string
getTypeName()

No description

public
getDefaultResolver(array|null $context = [])

No description

public
string
getSourceClass()

No description

public
array
getAllFields()

No description

public
ModelType|null
getModelTypeForField(string $fieldName)

No description

public
getSchemaConfig()

No description

public
ModelConfiguration|null
getModelConfiguration()

No description

public
string
getPropertyForField(string $field)

No description

Details

static string getIdentifier()

No description

Return Value

string

bool hasField(string $fieldName)

No description

Parameters

string $fieldName

Return Value

bool

ModelField|null getField(string $fieldName, array $config = [])

No description

Parameters

string $fieldName
array $config

Return Value

ModelField|null

string getTypeName()

No description

Return Value

string

ResolverReference getDefaultResolver(array|null $context = [])

No description

Parameters

array|null $context

Return Value

ResolverReference

string getSourceClass()

No description

Return Value

string

array getAllFields()

No description

Return Value

array

ModelType|null getModelTypeForField(string $fieldName)

No description

Parameters

string $fieldName

Return Value

ModelType|null

SchemaConfig getSchemaConfig()

No description

Return Value

SchemaConfig

ModelConfiguration|null getModelConfiguration()

No description

Return Value

ModelConfiguration|null

string getPropertyForField(string $field)

No description

Parameters

string $field

Return Value

string