method public

BarcodeGenerator::__construct()

Класс: \Bitrix\Sale\PaySystem\BarcodeGenerator

Сигнатура

public __construct([array<string|int, mixed>|null $options = null ]) : mixed

Параметры

$options array<string|int, mixed>|null = null

Возвращаемое значение

mixed

Как применяется в BarcodeGenerator

BarcodeGenerator::__construct() — метод класса \Bitrix\Sale\PaySystem\BarcodeGenerator модуля «Интернет-магазин».

Конструктор: создаёт экземпляр BarcodeGenerator.

use Bitrix\Main\Loader;
use Bitrix\Sale\PaySystem\BarcodeGenerator;

Loader::includeModule('sale');

$object = new BarcodeGenerator();

Другие методы BarcodeGenerator

__construct() есть и у других классов модуля «Интернет-магазин»: ApplePay, Automatic, AutomaticProfile, Base, Base, Base, BasePreset, BaseServiceHandler.

Исходный файл: source/sale/lib/paysystem/barcodegenerator.php:18

Что будем искать? Например,Продвижение