Page MenuHomePhabricator

Define EntityContainer interface
Closed, DeclinedPublic

Description

The EntityContainer defines two methods:

  • getEntity( EntityId ): EntityDocument
  • setEntity( EntityDocument )

EntityContainer is intended to be implemented by Entities that contain sub-entities, as described in T165328: Allow entity sub-structures to be treated like entities (so called sub-entities)..
EntityContainer will be called by HierarchicalEntityRevisionLookup and HierarchicalEntityStore.