Метод resize
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
12–29
~/bitrix/modulestasks/lib/V2/Internal/Service/PhotoService.php
Исходный код
Сигнатура метода
public function resize(Entity\File $photo, int $width = 100, int $height = 100): ?Entity\File
Возвращает:
?Entity\File
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$photo
|
Entity\File
|
-
|
-
|
$width
|
int
|
100
|
-
|
$height
|
int
|
100
|
-
|