• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/activity/entity/configurablerestapp/dto/actiondto.php
  • Класс: Bitrix\Crm\Activity\Entity\ConfigurableRestApp\Dto\ActionDto
  • Вызов: ActionDto::getCastByPropertyName
public function getCastByPropertyName(string $propertyName): ?\Bitrix\Crm\Dto\Caster
{
	switch ($propertyName)
	{
		case 'actionParams':
			return new \Bitrix\Crm\Dto\Caster\CollectionCaster(new \Bitrix\Crm\Dto\Caster\StringCaster());
	}

	return null;
}