Interface for Observer object. Implementation of the observer pattern.
Direct known implementersRedBeanPHP\SimpleModelHelper
copyright (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community. This source file is subject to the BSD/GPLv2 License that is bundled with this source code in the file license.txt.
Author: Gabor de Mooij and the RedBeanPHP community
Desc: Part of the observer pattern in RedBean
Located at Observer.php
An observer object needs to be capable of receiving notifications. Therefore the observer needs to implement the onEvent method with two parameters: the event identifier specifying the current event and a message object (in RedBeanPHP this can also be a bean).