This interface describes a builder of a DataDefinition.

Builders are used in the first pass of the instantiation of DcGeneral to populate the DataDefinition. The builders should react to a BuildDataDefinitionEvent and therefore must be registered in the event dispatcher.

 Methods

Build a data definition and store it into the environments container.

build(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container, \ContaoCommunityAlliance\DcGeneral\Factory\Event\BuildDataDefinitionEvent $event) : void

Parameters

$container

\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface

The data definition container to populate.