<?php
// Bitrix\Bizproc\FieldType :: setTypeClass()
// /dist/bitrix/modules/bizproc/lib/fieldtype.php:155
public function setTypeClass($typeClass)
{
if (is_subclass_of($typeClass, '\Bitrix\Bizproc\BaseType\Base'))
{
$this->typeClass = $typeClass;
}
else
throw new Main\ArgumentException('Incorrect type class.');
return $this;
}