/** * @param TypedObjectInterface $object */ public function removeElement(TypedObjectInterface $object) { unset($this->types[$object->getType()]); }
/** * @param TypedObjectInterface $object */ public function replace(TypedObjectInterface $object) { $this->themes[$object->getType()] = $object; }