This is the default implementation of a collection of data provider information.

 Methods

{@inheritdoc}

__get($name) 

Parameters

$name

{@inheritdoc}

__isset($name) 

Parameters

$name

{@inheritdoc}

__set($name, $value) 

Parameters

$name

$value

{@inheritdoc}

__unset($name) 

Parameters

$name

{@inheritdoc}

addInformation($information) 

Parameters

$information

Exceptions

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

{@inheritdoc}

count() 

{@inheritdoc}

getInformation($information) 

Parameters

$information

{@inheritdoc}

getIterator() 

{@inheritdoc}

getProviderNames() 

{@inheritdoc}

hasInformation($information) 

Parameters

$information

{@inheritdoc}

offsetExists($offset) 

Parameters

$offset

{@inheritdoc}

offsetGet($offset) 

Parameters

$offset

{@inheritdoc}

offsetSet($offset, $value) 

Parameters

$offset

$value

{@inheritdoc}

offsetUnset($offset) 

Parameters

$offset

{@inheritdoc}

removeInformation($information) 

Parameters

$information

{@inheritdoc}

setInformation($name, $information) 

Parameters

$name

$information

Convert a value into a data definition name.

makeName(\ContaoCommunityAlliance\DcGeneral\DataDefinition\DataProviderInformationInterface|string $information) : string
Convenience method to ensure we have a data provider name.
internal

Parameters

$information

\ContaoCommunityAlliance\DcGeneral\DataDefinition\DataProviderInformationInterfacestring

The information or name of a data provider.

Exceptions

\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException If neither a string nor an instance of DataProviderInformationInterface has been passed.

Returns

string

 Properties

 

The data provider information stored in the definition.

$information : \ContaoCommunityAlliance\DcGeneral\DataDefinition\DataProviderInformationInterface[]