Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
yandexlookalikeaudiencestatusnormalizer.php
1<?php
2
4
6
8{
9 protected const AUDIENCE_TYPE_CODE = AudienceYandex::TYPE_CODE;
10
13 'is_processed' => self::NORMALIZED_STATUS_PROCESSING,
14 'processed' => self::NORMALIZED_STATUS_READY,
15 'processing_failed' => self::NORMALIZED_STATUS_OTHER,
18 ];
19
20 public function isEnabled(?string $originalStatus): bool
21 {
22 return $originalStatus === 'processed';
23 }
24}