TraversableTypedDataInterface.php 472 B

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