From ff197d27645dfdae7487350f9d6f5333f714217b Mon Sep 17 00:00:00 2001 From: sharon-yelenik Date: Thu, 28 Nov 2024 09:45:05 +0200 Subject: [PATCH] Adds (appends) a transformation. --- src/Asset/BaseMediaAsset.php | 2 +- src/Asset/Descriptor/AssetTransformation.php | 2 +- src/Tag/BaseImageTag.php | 2 +- src/Tag/ImageTag.php | 2 ++ src/Tag/VideoTag.php | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Asset/BaseMediaAsset.php b/src/Asset/BaseMediaAsset.php index bdfebf80..854e8db7 100644 --- a/src/Asset/BaseMediaAsset.php +++ b/src/Asset/BaseMediaAsset.php @@ -101,7 +101,7 @@ public function setTransformation(CommonTransformation $transformation) abstract public function getTransformation(); /** - * Adds (appends) a transformation. + * Adds (appends) a transformation in URL syntax to the current chain. A transformation is a set of instructions for adjusting images or videos—such as resizing, cropping, applying filters, adding overlays, or optimizing formats. For a detailed listing of all transformations, see the [Transformation Reference](https://cloudinary.com/documentation/transformation_reference) or the [PHP reference](https://cloudinary.com/documentation/sdks/php/php-transformation-builder/index.html). * * Appended transformation is nested. * diff --git a/src/Asset/Descriptor/AssetTransformation.php b/src/Asset/Descriptor/AssetTransformation.php index 2fb4f892..160ad9d2 100644 --- a/src/Asset/Descriptor/AssetTransformation.php +++ b/src/Asset/Descriptor/AssetTransformation.php @@ -157,7 +157,7 @@ public function importJson($json) } /** - * Adds (appends) a transformation. + * Adds (appends) a transformation in URL syntax to the current chain. A transformation is a set of instructions for adjusting images or videos—such as resizing, cropping, applying filters, adding overlays, or optimizing formats. For a detailed listing of all transformations, see the [Transformation Reference](https://cloudinary.com/documentation/transformation_reference) or the [PHP reference](https://cloudinary.com/documentation/sdks/php/php-transformation-builder/index.html). * * Appended transformation is nested. * diff --git a/src/Tag/BaseImageTag.php b/src/Tag/BaseImageTag.php index 93e06b89..8ee90c9e 100644 --- a/src/Tag/BaseImageTag.php +++ b/src/Tag/BaseImageTag.php @@ -174,7 +174,7 @@ public function jsonSerialize() } /** - * Adds (appends) a transformation. + * Adds (appends) a transformation in URL syntax to the current chain. A transformation is a set of instructions for adjusting images or videos—such as resizing, cropping, applying filters, adding overlays, or optimizing formats. For a detailed listing of all transformations, see the [Transformation Reference](https://cloudinary.com/documentation/transformation_reference) or the [PHP reference](https://cloudinary.com/documentation/sdks/php/php-transformation-builder/index.html). * * Appended transformation is nested. * diff --git a/src/Tag/ImageTag.php b/src/Tag/ImageTag.php index 0de89ff9..91e0d9b6 100644 --- a/src/Tag/ImageTag.php +++ b/src/Tag/ImageTag.php @@ -15,6 +15,8 @@ /** * Generates an HTML `` tag with the `src` attribute set to the transformation URL, optional `srcset` and other * specified attributes. + * + * For more information, see the [PHP SDK guide](https://cloudinary.com/documentation/php_integration#landingpage). * * @api */ diff --git a/src/Tag/VideoTag.php b/src/Tag/VideoTag.php index 38c9a08f..72378d01 100644 --- a/src/Tag/VideoTag.php +++ b/src/Tag/VideoTag.php @@ -343,7 +343,7 @@ public function jsonSerialize() } /** - * Adds (appends) a transformation. + * Adds (appends) a transformation in URL syntax to the current chain. A transformation is a set of instructions for adjusting images or videos—such as resizing, cropping, applying filters, adding overlays, or optimizing formats. For a detailed listing of all transformations, see the [Transformation Reference](https://cloudinary.com/documentation/transformation_reference) or the [PHP reference](https://cloudinary.com/documentation/sdks/php/php-transformation-builder/index.html). * * Appended transformation is nested. *