You are here

interface NotifyPropertyChanged in Plug 7

Contract for classes that provide the service of notifying listeners of changes to their properties.

@link www.doctrine-project.org @since 2.0 @author Guilherme Blanco <guilhermeblanco@hotmail.com> @author Jonathan Wage <jonwage@gmail.com> @author Roman Borschel <roman@code-factory.org>

Hierarchy

Expanded class hierarchy of NotifyPropertyChanged

All classes that implement NotifyPropertyChanged

File

lib/doctrine/common/lib/Doctrine/Common/NotifyPropertyChanged.php, line 32

Namespace

Doctrine\Common
View source
interface NotifyPropertyChanged {

  /**
   * Adds a listener that wants to be notified about property changes.
   *
   * @param PropertyChangedListener $listener
   *
   * @return void
   */
  public function addPropertyChangedListener(PropertyChangedListener $listener);

}

Members

Namesort descending Modifiers Type Description Overrides
NotifyPropertyChanged::addPropertyChangedListener public function Adds a listener that wants to be notified about property changes.