Registry for default data provider configurations to only resolve them once.

 Methods

Retrieve the base data provider config for the current data definition.

getBaseConfig(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $parentId) : \ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface
This includes parent filter when in parented list mode and the additional filters from the data definition.

Parameters

$parentId

\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface

The optional parent to use.

Returns

{@inheritDoc}

getEnvironment() 

Set the environment to use.

setEnvironment(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment) : \ContaoCommunityAlliance\DcGeneral\BaseConfigRegistry

Add the filter for the item with the given id from the parent data provider to the given config.

addParentFilter(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $idParent, \ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface $config) : \ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface

Retrieve the base data provider config for the current data definition.

buildBaseConfig(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface|null $parentId) : \ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface
This includes parent filter when in parented list mode and the additional filters from the data definition.

Parameters

Returns

 Properties

 

The cached configurations.

$configs : \ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface[]
 

The attached environment.

$environment : \ContaoCommunityAlliance\DcGeneral\EnvironmentInterface