public function addUMListener(IUMListener $listener, $currentRequestOnly = true) { if (!$currentRequestOnly) { throw new EyeNotImplementedException(__METHOD__ . ' ($currentRequestOnly = false)'); } $this->listeners->append($listener); }