public function offsetSet($index, $emitter) { $this->validateEmitter($emitter); parent::offsetSet($index, $emitter); }