Default implementation of a data definition container.

 Methods

{@inheritdoc}

__clone() 

Create a new default container.

__construct(string $name) 

Parameters

$name

string

The name of the container.

{@inheritdoc}

addDefinitions(array $definitions) 

Parameters

$definitions

Exceptions

\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException When a passed definition does not implement the DefinitionInterface.

{@inheritdoc}

clearDefinitions() 

{@inheritdoc}

getBasicDefinition() 

{@inheritdoc}

getDataProviderDefinition() 

{@inheritdoc}

getDefinition($definitionName) 

Parameters

$definitionName

Exceptions

\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException Is thrown when there is no definition with this name.

{@inheritdoc}

getDefinitionNames() 

{@inheritdoc}

getModelRelationshipDefinition() 

{@inheritdoc}

getName() 

{@inheritdoc}

getPalettesDefinition() 

{@inheritdoc}

getPropertiesDefinition() 

{@inheritdoc}

hasBasicDefinition() 

{@inheritdoc}

hasDataProviderDefinition() 

{@inheritdoc}

hasDefinition($definitionName) 

Parameters

$definitionName

{@inheritdoc}

hasModelRelationshipDefinition() 

{@inheritdoc}

hasPalettesDefinition() 

{@inheritdoc}

hasPropertiesDefinition() 

{@inheritdoc}

removeDefinition($definitionName) 

Parameters

$definitionName

{@inheritdoc}

setBasicDefinition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface $definition) 

Parameters

$definition

{@inheritdoc}

setDataProviderDefinition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\DataProviderDefinitionInterface $definition) 

Parameters

$definition

{@inheritdoc}

setDefinition($definitionName, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\DefinitionInterface $definition) 

Parameters

$definitionName

$definition

{@inheritdoc}

setDefinitions(array $definitions) 

Parameters

$definitions

{@inheritdoc}

setModelRelationshipDefinition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\ModelRelationshipDefinitionInterface $definition) 

Parameters

$definition

{@inheritdoc}

setPalettesDefinition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\PalettesDefinitionInterface $definition) 

Parameters

$definition

{@inheritdoc}

setPropertiesDefinition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\PropertiesDefinitionInterface $definition) 

Parameters

$definition

 Properties

 

The contained definition instances.

$definitions : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\DefinitionInterface[]
 

The name of the container.

$name : string