• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Dto/Dto.php
  • Класс: Bitrix\Crm\Dto\Dto
  • Вызов: Dto::getProperties
protected function getProperties(): array
{
	$self = new \ReflectionClass($this);
	$properties = $self->getProperties(\ReflectionProperty::IS_PUBLIC);
	$result = [];

	foreach ($properties as $property)
	{
		$result[] = new Property($property, $this);
	}
	return $result;
}