MCPcopy Create free account
hub / github.com/Rello/analytics / requireId

Method requireId

lib/Service/BundleImportService.php:118–120  ·  view source on GitHub ↗
(int $id)

Source from the content-addressed store, hash-verified

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');

Callers 1

importBundleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected