You are here

interface PropertyChangedListener in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/PropertyChangedListener.php \Doctrine\Common\PropertyChangedListener

Contract for classes that are potential listeners of a <tt>NotifyPropertyChanged</tt> implementor.

@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 PropertyChangedListener

All classes that implement PropertyChangedListener

File

vendor/doctrine/common/lib/Doctrine/Common/PropertyChangedListener.php, line 32

Namespace

Doctrine\Common
View source
interface PropertyChangedListener {

  /**
   * Notifies the listener of a property change.
   *
   * @param object $sender       The object on which the property changed.
   * @param string $propertyName The name of the property that changed.
   * @param mixed  $oldValue     The old value of the property that changed.
   * @param mixed  $newValue     The new value of the property that changed.
   *
   * @return void
   */
  function propertyChanged($sender, $propertyName, $oldValue, $newValue);

}

Members

Namesort descending Modifiers Type Description Overrides
PropertyChangedListener::propertyChanged function Notifies the listener of a property change.