public function attach(SplObserver $observer) { $this->detach($observer); $this->_observers[] = $observer; }