save()) { throw new RuntimeException('Saving error.'); } } /** * @param BannerPlace $place * @throws StaleObjectException */ public function remove(BannerPlace $place): void { if (!$place->delete()) { throw new RuntimeException('Removing error.'); } } }