Skip to content

Commit 93badfa

Browse files
committed
Added getter method for WebP object
1 parent 15cb8a1 commit 93badfa

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/Responses/Result.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,14 @@ public function getUrl() {
160160
return $this->url;
161161
}
162162

163+
/**
164+
* Returns WebP object
165+
* @return ResultWebP
166+
*/
167+
public function getWebP() {
168+
return $this->webp;
169+
}
170+
163171

164172
/**
165173
* Overwrite the local file with the optimized file

0 commit comments

Comments
 (0)