InheritanceScaffolder
class InheritanceScaffolder extends UnionScaffolder implements ManagerMutatorInterface
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
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