The AbstractEnvironmentAwareHandler is designed for action handlers which can also be used in a non event context.

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

 Methods

{@inheritdoc}

handleEvent(\ContaoCommunityAlliance\DcGeneral\Event\ActionEvent $event) 

Parameters

$event

Set the environment. This is required for using handler for a non event mode.

setEnvironment(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment) : \ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ActionHandler\AbstractEnvironmentAwareHandler
fluent This method is part of a fluent interface and will return the same instance

Parameters

Returns

\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ActionHandler\AbstractEnvironmentAwareHandler

 Properties