From 794c56624423c3133d09ccf0072cd821280c9351 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 24 May 2016 16:10:22 +0200 Subject: Move Stuff to PSR-4 again --- .../lib/Lib/Config/IAuthMechanismProvider.php | 38 ++++++++++++++++++++++ .../lib/Lib/Config/IBackendProvider.php | 38 ++++++++++++++++++++++ .../lib/config/iauthmechanismprovider.php | 38 ---------------------- .../files_external/lib/config/ibackendprovider.php | 38 ---------------------- 4 files changed, 76 insertions(+), 76 deletions(-) create mode 100644 apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php create mode 100644 apps/files_external/lib/Lib/Config/IBackendProvider.php delete mode 100644 apps/files_external/lib/config/iauthmechanismprovider.php delete mode 100644 apps/files_external/lib/config/ibackendprovider.php (limited to 'apps/files_external') diff --git a/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php b/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php new file mode 100644 index 00000000000..035b8e891f5 --- /dev/null +++ b/apps/files_external/lib/Lib/Config/IAuthMechanismProvider.php @@ -0,0 +1,38 @@ + + * + * @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 + * + */ + +namespace OCA\Files_External\Lib\Config; + +use \OCA\Files_External\Lib\Auth\AuthMechanism; + +/** + * Provider of external storage auth mechanisms + * @since 9.1.0 + */ +interface IAuthMechanismProvider { + + /** + * @since 9.1.0 + * @return AuthMechanism[] + */ + public function getAuthMechanisms(); + +} diff --git a/apps/files_external/lib/Lib/Config/IBackendProvider.php b/apps/files_external/lib/Lib/Config/IBackendProvider.php new file mode 100644 index 00000000000..2335e7133a6 --- /dev/null +++ b/apps/files_external/lib/Lib/Config/IBackendProvider.php @@ -0,0 +1,38 @@ + + * + * @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 + * + */ + +namespace OCA\Files_External\Lib\Config; + +use \OCA\Files_External\Lib\Backend\Backend; + +/** + * Provider of external storage backends + * @since 9.1.0 + */ +interface IBackendProvider { + + /** + * @since 9.1.0 + * @return Backend[] + */ + public function getBackends(); + +} diff --git a/apps/files_external/lib/config/iauthmechanismprovider.php b/apps/files_external/lib/config/iauthmechanismprovider.php deleted file mode 100644 index 035b8e891f5..00000000000 --- a/apps/files_external/lib/config/iauthmechanismprovider.php +++ /dev/null @@ -1,38 +0,0 @@ - - * - * @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 - * - */ - -namespace OCA\Files_External\Lib\Config; - -use \OCA\Files_External\Lib\Auth\AuthMechanism; - -/** - * Provider of external storage auth mechanisms - * @since 9.1.0 - */ -interface IAuthMechanismProvider { - - /** - * @since 9.1.0 - * @return AuthMechanism[] - */ - public function getAuthMechanisms(); - -} diff --git a/apps/files_external/lib/config/ibackendprovider.php b/apps/files_external/lib/config/ibackendprovider.php deleted file mode 100644 index 2335e7133a6..00000000000 --- a/apps/files_external/lib/config/ibackendprovider.php +++ /dev/null @@ -1,38 +0,0 @@ - - * - * @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 - * - */ - -namespace OCA\Files_External\Lib\Config; - -use \OCA\Files_External\Lib\Backend\Backend; - -/** - * Provider of external storage backends - * @since 9.1.0 - */ -interface IBackendProvider { - - /** - * @since 9.1.0 - * @return Backend[] - */ - public function getBackends(); - -} -- cgit v1.2.3