method public Collection::__construct() Класс: \Bitrix\Sale\Discount\Gift\Collection Сигнатура public __construct(array<string|int, mixed> $gifts, string $type) : mixed Описание Конструктор GiftCollection. Параметры $gifts array<string|int, mixed> $type string Возвращаемое значение mixed Исходный файл: source/sale/lib/discount/gift/collection.php:20