class Inheritance implements PluginInterface, SchemaUpdater, ModelTypePlugin (View source)

Adds inheritance fields to a DataObject type, and exposes its ancestry

Constants

IDENTIFIER

Methods

string
getIdentifier()

No description

static void
updateSchema(Schema $schema)

No description

void
apply(ModelType $type, Schema $schema, array $config = [])

No description

Details

string getIdentifier()

Return Value

string

static void updateSchema(Schema $schema)

Parameters

Schema $schema

Return Value

void

Exceptions

SchemaBuilderException

void apply(ModelType $type, Schema $schema, array $config = [])

Parameters

ModelType $type
Schema $schema
array $config

Return Value

void

Exceptions

ReflectionException
SchemaBuilderException