commitTransaction() public method

Clean up state after a transaction. This method is called on every cached item by the ObjectManager.
See also: Item::rollbackTransaction
public commitTransaction ( )
Example #1
0
 /**
  * {@inheritDoc}
  *
  * Additionally, notifies all properties of this node. Child nodes are not
  * notified, it is the job of the ObjectManager to know which nodes are
  * cached and notify them.
  */
 public function commitTransaction()
 {
     parent::commitTransaction();
     foreach ($this->properties as $prop) {
         $prop->commitTransaction();
     }
 }