_pluginManager = $pluginManager; } /** * This method is called when any PluginManager to which the observer * is attached calls PluginManager::notify() * * @param SplSubject $subject The PluginManager notifying the observer * of an update. * * @return void */ abstract public function update (SplSubject $subject); /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ /** * Gets the PluginManager instance that contains the list with all the * plugins that attached to it * * @return type PluginManager */ public function getPluginManager() { return $this->_pluginManager; } /** * Setter for $_pluginManager * * @param PluginManager $_pluginManager the private instance that it will * attach to * * @return void */ public function setPluginManager($_pluginManager) { $this->_pluginManager = $_pluginManager; } } ?>