diff options
Diffstat (limited to 'lib/public/Command/ICommand.php')
-rw-r--r-- | lib/public/Command/ICommand.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/public/Command/ICommand.php b/lib/public/Command/ICommand.php new file mode 100644 index 00000000000..33435ad22db --- /dev/null +++ b/lib/public/Command/ICommand.php @@ -0,0 +1,21 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only + */ +namespace OCP\Command; + +/** + * Interface ICommand + * + * @since 8.1.0 + */ +interface ICommand { + /** + * Run the command + * @since 8.1.0 + */ + public function handle(); +} |