Abstract base class for an event that need an environment and a model.

SuppressWarnings (PHPMD.NumberOfChildren)

 Methods

Create a new model aware event.

__construct(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model) 

Parameters

$model

\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface

The model attached to the event.

{@inheritdoc}

getModel() 

 Properties

 

The model attached to the event.

$model : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface