Version 1
[yaffs-website] / web / core / lib / Drupal / Core / TypedData / TraversableTypedDataInterface.php
1 <?php
2
3 namespace Drupal\Core\TypedData;
4
5 /**
6  * An interface for typed data objects that can be traversed.
7  */
8 interface TraversableTypedDataInterface extends TypedDataInterface, \Traversable {
9
10   /**
11    * React to changes to a child property or item.
12    *
13    * Note that this is invoked after any changes have been applied.
14    *
15    * @param $name
16    *   The name of the property or the delta of the list item which is changed.
17    */
18   public function onChange($name);
19
20 }