public function unregister() { $this->_instance->register("prop7", "val7"); $this->_instance->register("prop8", "val8"); $this->assertEquals("val7", $this->_instance->getProperty("prop7")); $this->assertEquals("val8", $this->_instance->getProperty("prop8")); $this->_instance->unregister("prop7"); $this->assertEquals(null, $this->_instance->getProperty("prop7")); $this->assertEquals("val8", $this->_instance->getProperty("prop8")); }
/** * Un-register an property to be sent with every event. * @param string $property */ public function unregister($property) { $this->_events->unregister($property); }