public function addGlobalBeforeHook($handler, $priority = 0) { $this->addEventListener(null, $handler, 'before', $priority); }