This is the reference implementation for PropertiesDefinitionInterface.

 Methods

{@inheritdoc}

addProperty($property) 

Parameters

$property

Exceptions

\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException When an invalid property has been passed or a property with the given name has already been registered.

{@inheritdoc}

getIterator() 

{@inheritdoc}

getProperties() 

{@inheritdoc}

getProperty($name) 

Parameters

$name

Exceptions

\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException When an a property with the given name has not been registered.

{@inheritdoc}

getPropertyNames() 

{@inheritdoc}

hasProperty($name) 

Parameters

$name

{@inheritdoc}

removeProperty($property) 

Parameters

$property

Exceptions

\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException When an a property with the given name has not been registered.

 Properties