diff options
Diffstat (limited to 'lib/public/IStreamImage.php')
-rw-r--r-- | lib/public/IStreamImage.php | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/lib/public/IStreamImage.php b/lib/public/IStreamImage.php index a93381dd5ed..5363e0fcbc7 100644 --- a/lib/public/IStreamImage.php +++ b/lib/public/IStreamImage.php @@ -1,30 +1,18 @@ <?php + /** - * @copyright Copyright (c) 2021 Carl Schwan <carl@carlschwan.eu> - * - * @author Carl Schwan <carl@carlschwan.eu> - * - * @license AGPL-3.0-or-later - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * 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 - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ - namespace OCP; /** * @since 24.0.0 */ interface IStreamImage extends IImage { + /** + * @since 24.0.0 + * @return false|resource Returns the image resource if any + */ + public function resource(); } |