InheritanceScaffolder
class InheritanceScaffolder extends UnionScaffolder implements ManagerMutatorInterface (View source)
Scaffolds a UnionType based on the ancestry of a DataObject class
Traits
Provides extensions to this object to integrate it with standard config API methods.
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
__construct(string $rootDataObjectClass, string $suffix = '')
AncestryScaffolder constructor.
string
getName()
UnionScaffolder
setName(string $name)
array
getTypes()
Get all the GraphQL types in the ancestry
$this
setTypes(array $types)
mixed
scaffold(Manager $manager)
addToManager(Manager $manager)
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