/** * Removes the object. * * @param HausDesign_Media_Asf_Object $object The object to remove */ public final function removeObject($object) { if ($this->hasObject($object->getIdentifier())) { foreach ($this->_objects[$object->getIdentifier()] as $key => $value) { if ($object === $value) { unset($this->_objects[$object->getIdentifier()][$key]); } } } }