class PreUpdateEventArgs extends PreUpdateEventArgs (View source)

Methods

__construct($document, DocumentManagerInterface $documentManager, array $changeSet)

Constructor.

array
getDocumentChangeSet()

Retrieves the document changeset.

Details

__construct($document, DocumentManagerInterface $documentManager, array $changeSet)

Constructor.

Parameters

$document
DocumentManagerInterface $documentManager
array $changeSet

array getDocumentChangeSet()

Retrieves the document changeset.

Currently this structure contains 2 keys: 'fields' - changes to field values 'reorderings' - changes in the order of collections

Return Value

array