Skip to content
Snippets Groups Projects
Commit 388758f4 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2359449 by Jose Reyero: Fixed TypedData calls onChange() parent's...

Issue #2359449 by Jose Reyero: Fixed TypedData calls onChange() parent's method that is not part of the interface.
parent 5dcc99f9
No related branches found
No related tags found
No related merge requests found
......@@ -100,13 +100,4 @@ public function toArray();
*/
public function isEmpty();
/**
* React to changes to a child property.
*
* Note that this is invoked after any changes have been applied.
*
* @param $property_name
* The name of the property which is changed.
*/
public function onChange($property_name);
}
......@@ -38,16 +38,6 @@ public function isEmpty();
*/
public function getItemDefinition();
/**
* React to changes to a child item.
*
* Note that this is invoked after any changes have been applied.
*
* @param $delta
* The delta of the item which is changed.
*/
public function onChange($delta);
/**
* Returns the item at the specified position in this list.
*
......
......@@ -10,4 +10,16 @@
/**
* An interface for typed data objects that can be traversed.
*/
interface TraversableTypedDataInterface extends TypedDataInterface, \Traversable {}
interface TraversableTypedDataInterface extends TypedDataInterface, \Traversable {
/**
* React to changes to a child property or item.
*
* Note that this is invoked after any changes have been applied.
*
* @param $name
* The name of the property or the delta of the list item which is changed.
*/
public function onChange($name);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment