Class CopyModelController handles copy action on a model.

It provides a setEnvironment method which has to be used to initialize the environment instead.

 Methods

Copy a model by using.

copy(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $modelId) : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface

{@inheritdoc}

process()