Class PrePersistModelEvent
This event is emitted just before a model is saved to the data provider.
- Symfony\Component\EventDispatcher\Event
-
DcGeneral\Event\AbstractEnvironmentAwareEvent implements DcGeneral\EnvironmentAwareInterface
-
DcGeneral\Event\AbstractModelAwareEvent implements DcGeneral\ModelAwareInterface
-
DcGeneral\Event\PrePersistModelEvent
public
|
#
__construct(
Create a new model aware event. |
public
|
getModel()
|
getEnvironment()
|
string |
NAME
|
'dc-general.model.pre-persist' |
protected
|
$originalModel |
|
#
The original model attached to the event. |
$model
|
$environment
|