bookmarks/lib/Contract/IBookmarkPreviewer.php

19 lines
401 B
PHP
Raw Normal View History

<?php
2020-09-21 12:25:50 +00:00
/*
* Copyright (c) 2020-2024. The Nextcloud Bookmarks contributors.
2020-09-21 12:25:50 +00:00
*
* This file is licensed under the Affero General Public License version 3 or later. See the COPYING file.
*/
2019-10-26 12:10:49 +00:00
namespace OCA\Bookmarks\Contract;
2019-10-26 12:10:49 +00:00
use OCA\Bookmarks\Db\Bookmark;
interface IBookmarkPreviewer {
/**
2019-10-26 12:10:49 +00:00
* @param Bookmark $bookmark
* @return IImage|null
*/
public function getImage($bookmark): ?IImage;
}