public function attach(\SplObserver $postit) { $this->_Postit[] = $postit; $postit->setState(true); $this->notify(); }