aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/BeforeSabrePubliclyLoadedEvent.php
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2022-12-15 17:26:03 +0100
committerJulien Veyssier <julien-nc@posteo.net>2022-12-15 17:37:34 +0100
commit73f2876d649c590cd273ecee2dcc404babed7160 (patch)
tree47baeb9a3b00d6c7ca2ee21a581b3ebc18e92efe /lib/public/BeforeSabrePubliclyLoadedEvent.php
parentc9dcf3988ab98202b2e000d4a4e9be042047579b (diff)
downloadnextcloud-server-73f2876d649c590cd273ecee2dcc404babed7160.tar.gz
nextcloud-server-73f2876d649c590cd273ecee2dcc404babed7160.zip
rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent, run build/autoloaderchecker.sh
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'lib/public/BeforeSabrePubliclyLoadedEvent.php')
-rw-r--r--lib/public/BeforeSabrePubliclyLoadedEvent.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/public/BeforeSabrePubliclyLoadedEvent.php b/lib/public/BeforeSabrePubliclyLoadedEvent.php
new file mode 100644
index 00000000000..afb68a8a952
--- /dev/null
+++ b/lib/public/BeforeSabrePubliclyLoadedEvent.php
@@ -0,0 +1,31 @@
+<?php
+/**
+ * @copyright Julien Veyssier <eneiluj@posteo.net> 2022
+ *
+ * @author Julien Veyssier <eneiluj@posteo.net>
+ *
+ * @license AGPL-3.0-or-later
+ *
+ * This code is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License, version 3,
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License, version 3,
+ * along with this program. If not, see <http://www.gnu.org/licenses/>
+ *
+ */
+namespace OCP;
+
+/**
+ * Dispatched before Sabre is loaded when accessing public webdav endpoints
+ * This can be used to inject a Sabre plugin for example
+ *
+ * @since 26.0.0
+ */
+class BeforeSabrePubliclyLoadedEvent extends SabrePluginEvent {
+}