6 * Every database object representing a file should implement this interface.
8 * @author Matthias Schmidt
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
14 * @property-read string $fileType type of the physical attachment file
15 * @property-read int $isImage is `1` if the file is an image, otherwise `0`
16 * @property-read int $width width of the file if `$isImage` is `1`, otherwise `0`
17 * @property-read int $height height of the file if `$isImage` is `1`, otherwise `0`
19 interface IFile
extends IStorableObject
22 * Returns the physical location of the file.
26 public function getLocation();