(int $id)
| 116 | } |
| 117 | |
| 118 | private function requireId(int $id): void { |
| 119 | if ($id <= 0) throw new \RuntimeException('Could not create bundle object'); |
| 120 | } |
| 121 | |
| 122 | private function requireSuccess(mixed $result): void { |
| 123 | if ($result !== true) throw new \RuntimeException('Could not configure bundle object'); |