Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
consentmessagebuilderfactory.php
1<?php
2
4
7
9{
10 const TEST_POSTFIX = '_test';
11
19 public static function getConsentBuilder(string $code): ?iConsentMessageBuilder
20 {
21 return static::getObjectInstance(static::getInterface(), $code);
22 }
23
24 public static function getTestMessageConsentBuilder($code)
25 {
26 return static::getObjectInstance(static::getInterface(), $code . static::TEST_POSTFIX);
27 }
28
29 protected static function getInterface(): string
30 {
31 return iConsentMessageBuilder::class;
32 }
33
34 protected static function getClasses(): array
35 {
37 }
38}