InheritanceScaffolder
class InheritanceScaffolder extends UnionScaffolder implements ManagerMutatorInterface (View source)
Scaffolds a UnionType based on the ancestry of a DataObject class
Traits
Configurable
Methods
__construct(string $rootDataObjectClass, string $suffix = '')
AncestryScaffolder constructor.
array
getTypes()
Get all the GraphQL types in the ancestry
string
getRootClass()
No description
setRootClass(string $rootClass)
No description
string
getSuffix()
No description
$this
setSuffix(string $suffix)
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