diff options
Diffstat (limited to 'lib/public/AppFramework/Bootstrap/IRegistrationContext.php')
-rw-r--r-- | lib/public/AppFramework/Bootstrap/IRegistrationContext.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php index 589b5def5a8..5d3ffc8d479 100644 --- a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php +++ b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php @@ -46,6 +46,16 @@ interface IRegistrationContext { public function registerCapability(string $capability): void; /** + * Register an implementation of \OCP\Support\CrashReport\IReporter that + * will receive unhandled exceptions and throwables + * + * @param string $reporterClass + * @return void + * @since 20.0.0 + */ + public function registerCrashReporter(string $reporterClass): void; + + /** * Register a service * * @param string $name |