* Level 2 only *

* An EventListener can be registered via the * observation.ObservationManager object. Event listeners are * notified asynchronously, and see events after they occur and the transaction * is committed. An event listener only sees events for which the ticket that * registered it has sufficient access rights. * * @author Markus Nix * @package phpcr * @subpackage observation */ interface EventListener { /** * Gets called when an event occurs. * * @param events The event set recieved. */ public function onEvent( EventIterator $events ); } ?>