/** * @param $entity */ public function remove($entity) { return $this->storage->remove($entity->getName()); }
/** * Save a ThemeOptions entity to the component.yml file. * * @param OptionSet $entity * * @return bool */ public function save($entity) { return $this->storage->persist($entity->getName(), $entity); }