/** * Returns the global Event Dispatcher object, only creating it * if it doesn't already exist. * * @return F0FUtilsObservableDispatcher The EventDispatcher object. */ public static function getInstance() { if (self::$instance === null) { self::$instance = new static(); } return self::$instance; }