Chris@0: . Chris@0: */ Chris@0: Chris@0: namespace Doctrine\Common; Chris@0: Chris@0: /** Chris@0: * Contract for classes that provide the service of notifying listeners of Chris@0: * changes to their properties. Chris@0: * Chris@0: * @link www.doctrine-project.org Chris@0: * @since 2.0 Chris@0: * @author Guilherme Blanco Chris@0: * @author Jonathan Wage Chris@0: * @author Roman Borschel Chris@0: */ Chris@0: interface NotifyPropertyChanged Chris@0: { Chris@0: /** Chris@0: * Adds a listener that wants to be notified about property changes. Chris@0: * Chris@0: * @param PropertyChangedListener $listener Chris@0: * Chris@0: * @return void Chris@0: */ Chris@0: public function addPropertyChangedListener(PropertyChangedListener $listener); Chris@0: }