abstract class AbstractTypeRegistry (View source)

Traits

Provides extensions to this object to integrate it with standard config API methods.

Config options

rebuild_on_missing_schema_file bool

Whether to rebuild the schema if there is a mysteriously missing schema file.

rebuild_on_missing_schema_file_minimum_interval int

Minimum number of seconds between rebuilding the schema if a schema file is missing.

Properties

protected static $types

Methods

public static 
config()

Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).

public
mixed
uninherited(string $name)

Gets the uninherited value for the given config option

public static 
mixed|null
get(string $typename)

No description

protected static 
string
getSourceDirectory()

No description

protected static 
string
getSourceNamespace()

No description

protected static 
mixed|null
fromCache(string $typename)

No description

public static 
ScalarType
ID()

No description

public static 
ScalarType
String()

No description

public static 
ScalarType
Boolean()

No description

public static 
ScalarType
Float()

No description

public static 
ScalarType
Int()

No description

public static 
ListOfType
listOf($type)

No description

public static 
NonNull
nonNull($type)

No description

Details

static Config_ForClass config()

Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).

Return Value

Config_ForClass

mixed uninherited(string $name)

Gets the uninherited value for the given config option

Parameters

string $name

Return Value

mixed

static mixed|null get(string $typename)

No description

Parameters

string $typename

Return Value

mixed|null

Exceptions

Exception

abstract static protected string getSourceDirectory()

No description

Return Value

string

abstract static protected string getSourceNamespace()

No description

Return Value

string

static protected mixed|null fromCache(string $typename)

No description

Parameters

string $typename

Return Value

mixed|null

Exceptions

Exception

static ScalarType ID()

No description

Return Value

ScalarType

static ScalarType String()

No description

Return Value

ScalarType

static ScalarType Boolean()

No description

Return Value

ScalarType

static ScalarType Float()

No description

Return Value

ScalarType

static ScalarType Int()

No description

Return Value

ScalarType

static ListOfType listOf($type)

No description

Parameters

$type

Return Value

ListOfType

static NonNull nonNull($type)

No description

Parameters

$type

Return Value

NonNull