summaryrefslogtreecommitdiff
path: root/vendor/doctrine/persistence/src/Persistence/NotifyPropertyChanged.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2024-08-13 23:45:21 +0200
committerpolo <ordipolo@gmx.fr>2024-08-13 23:45:21 +0200
commitbf6655a534a6775d30cafa67bd801276bda1d98d (patch)
treec6381e3f6c81c33eab72508f410b165ba05f7e9c /vendor/doctrine/persistence/src/Persistence/NotifyPropertyChanged.php
parent94d67a4b51f8e62e7d518cce26a526ae1ec48278 (diff)
downloadAppliGestionPHP-bf6655a534a6775d30cafa67bd801276bda1d98d.zip
VERSION 0.2 doctrine ORM et entités
Diffstat (limited to 'vendor/doctrine/persistence/src/Persistence/NotifyPropertyChanged.php')
-rw-r--r--vendor/doctrine/persistence/src/Persistence/NotifyPropertyChanged.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/doctrine/persistence/src/Persistence/NotifyPropertyChanged.php b/vendor/doctrine/persistence/src/Persistence/NotifyPropertyChanged.php
new file mode 100644
index 0000000..8eecf9b
--- /dev/null
+++ b/vendor/doctrine/persistence/src/Persistence/NotifyPropertyChanged.php
@@ -0,0 +1,22 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\Persistence;
6
7/**
8 * Interface for classes that notify event listeners of changes to their managed properties.
9 *
10 * This interface is implemented by objects that manually want to notify their object manager or
11 * other listeners when properties change, instead of relying on the object manager to compute
12 * property changes itself when changes are to be persisted.
13 */
14interface NotifyPropertyChanged
15{
16 /**
17 * Adds a listener that wants to be notified about property changes.
18 *
19 * @return void
20 */
21 public function addPropertyChangedListener(PropertyChangedListener $listener);
22}