AbstractTypeRegistry
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
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
Gets the uninherited value for the given config option
Details
static Config_ForClass
config()
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
mixed
stat(string $name)
deprecated
deprecated
Get inherited config value
mixed
uninherited(string $name)
Gets the uninherited value for the given config option
$this
set_stat(string $name, mixed $value)
deprecated
deprecated
Update the config value for a given property
static mixed|null
get(string $typename)
No description
abstract static protected string
getSourceDirectory()
No description
abstract static protected string
getSourceNamespace()
No description
static protected mixed|null
fromCache(string $typename)
No description
static ScalarType
ID()
No description
static ScalarType
String()
No description
static ScalarType
Boolean()
No description
static ScalarType
Float()
No description
static ScalarType
Int()
No description
static ListOfType
listOf($type)
No description
static NonNull
nonNull($type)
No description