InheritanceScaffolder
class InheritanceScaffolder extends UnionScaffolder implements ManagerMutatorInterface
Scaffolds a UnionType based on the ancestry of a DataObject class
Traits
Methods
AncestryScaffolder constructor.
Get all the GraphQL types in the ancestry
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .
Gets the uninherited value for the given config option
No description
No description
No description
No description
Details
at line 39
__construct(string $rootDataObjectClass, string $suffix = '')
AncestryScaffolder constructor.
in UnionScaffolder at line 39
string
getName()
in UnionScaffolder at line 48
UnionScaffolder
setName(string $name)
at line 108
array
getTypes()
Get all the GraphQL types in the ancestry
in UnionScaffolder at line 67
$this
setTypes(array $types)
in UnionScaffolder at line 78
mixed
scaffold(Manager $manager)
at line 124
addToManager(Manager $manager)
in Configurable at line 20
static Config_ForClass
config()
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .
....).
in Configurable at line 32
mixed
stat(string $name)
deprecated
deprecated 5.0 Use ->config()->get() instead
Get inherited config value
in Configurable at line 44
mixed
uninherited(string $name)
Gets the uninherited value for the given config option
in Configurable at line 57
$this
set_stat(string $name, mixed $value)
deprecated
deprecated 5.0 Use ->config()->set() instead
Update the config value for a given property