diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-05-09 08:35:06 +0200 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-05-10 20:14:04 +0200 |
commit | 73b81585199b78279e9bb384eebb37b3a217bf3d (patch) | |
tree | a997f31d6e12bba41474cd8a9b73ea8c98c60ae1 /lib/public/Command/ICommand.php | |
parent | 0543f8a8393f1837f5988606dcf303ceb53ad73a (diff) | |
download | nextcloud-server-73b81585199b78279e9bb384eebb37b3a217bf3d.tar.gz nextcloud-server-73b81585199b78279e9bb384eebb37b3a217bf3d.zip |
Move \OCP\Command to PSR-4
Diffstat (limited to 'lib/public/Command/ICommand.php')
-rw-r--r-- | lib/public/Command/ICommand.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/public/Command/ICommand.php b/lib/public/Command/ICommand.php new file mode 100644 index 00000000000..e53d52d2fa3 --- /dev/null +++ b/lib/public/Command/ICommand.php @@ -0,0 +1,37 @@ +<?php +/** + * @author Morris Jobke <hey@morrisjobke.de> + * @author Robin Appelman <icewind@owncloud.com> + * + * @copyright Copyright (c) 2016, ownCloud, Inc. + * @license AGPL-3.0 + * + * 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\Command; + +/** + * Interface ICommand + * + * @package OCP\Command + * @since 8.1.0 + */ +interface ICommand { + /** + * Run the command + * @since 8.1.0 + */ + public function handle(); +} |