3 namespace wcf\data\user\cover\photo
;
6 * Any displayable cover photo type should implement this class.
8 * @author Alexander Ebert
9 * @copyright 2001-2019 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package WoltLabSuite\Core\Data\User\Cover\Photo
13 interface IUserCoverPhoto
16 * Deletes this cover photo.
18 public function delete();
21 * Returns the physical location of this cover photo.
23 public function getLocation(?
bool $forceWebP = null): string;
26 * Returns the url to this cover photo.
28 public function getURL(?
bool $forceWebP = null): string;
31 * Returns the file name of this cover photo.
33 public function getFilename(?
bool $forceWebP = null): string;