From a5a101a456cab49a64fd919ba1b1ac3dc27a5bfb Mon Sep 17 00:00:00 2001 From: horst-n Date: Wed, 24 Apr 2019 23:40:16 +0200 Subject: [PATCH] documentation for webp properties --- wire/core/Pageimage.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wire/core/Pageimage.php b/wire/core/Pageimage.php index 4a0b64f2..be43aaf0 100644 --- a/wire/core/Pageimage.php +++ b/wire/core/Pageimage.php @@ -40,6 +40,9 @@ * @property-read string $suffixStr String of file suffix(es) separated by comma. * @property-read string $alt Convenient alias for the 'description' property, unless overridden (since 3.0.125). * @property-read string $src Convenient alias for the 'url' property, unless overridden (since 3.0.125). + * @property-read string $urlWebp The url property of an optional WebP-dependency file (since 3.0.132). + * @property-read string $srcWebp Convenient alias for the 'urlWebp' property (since 3.0.132). + * @property-read bool $hasWebp Does exist an optional WebP-dependency file for this image variation? (since 3.0.132) * * Properties inherited from Pagefile * ==================================