Factory to create a DcGeneral instance.
Methods
{@inheritdoc}
createContainer()
SuppressWarnings |
(PHPMD.Superglobals) |
SuppressWarnings |
(PHPMD.CamelCaseVariableName) |
Exceptions
{@inheritdoc}
createDcGeneral()
{@inheritdoc}
createEnvironment()
Create a new factory with basic settings from the environment.
deriveEmptyFromEnvironment(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment) : \ContaoCommunityAlliance\DcGeneral\Factory\DcGeneralFactory
Static
This factory can be used to create a new Container, Environment, DcGeneral with the same base settings as the
given environment.
Parameters
Returns
Create a new factory with basic settings and same container name as the given environment is build for.
deriveFromEnvironment(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment) : \ContaoCommunityAlliance\DcGeneral\Factory\DcGeneralFactory
Static
This factory can be used to create a second Container, Environment, DcGeneral for the same container.
Parameters
Returns
{@inheritdoc}
getContainerClassName()
{@inheritdoc}
getContainerName()
{@inheritdoc}
getDataContainer()
{@inheritdoc}
getDcGeneralClassName()
{@inheritdoc}
getEnvironment()
{@inheritdoc}
getEnvironmentClassName()
{@inheritdoc}
getEventDispatcher()
{@inheritdoc}
getTranslator()
{@inheritdoc}
setContainerClassName($containerClassName)
Parameters
$containerClassName
{@inheritdoc}
setContainerName($containerName)
Parameters
$containerName
{@inheritdoc}
setDataContainer(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $dataContainer)
Parameters
$dataContainer
{@inheritdoc}
setDcGeneralClassName($dcGeneralClassName)
Parameters
$dcGeneralClassName
{@inheritdoc}
setEnvironment(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment)
{@inheritdoc}
setEnvironmentClassName($environmentClassName)
Parameters
$environmentClassName
{@inheritdoc}
setEventDispatcher($dispatcher)
{@inheritdoc}
setTranslator(\ContaoCommunityAlliance\Translator\TranslatorInterface $translator)
Properties
The class name of the class to use for the data definition container.
$containerClassName : string
The name of the data container.
$containerName : string
The class name of the class to use as DcGeneral.
$dcGeneralClassName : string
The class name to use for the environment.
$environmentClassName : string