/** * @param string $typeName Statistic entity type name. * @param StatisticFieldBindingMap $srcBindingMap Binding map. * @return void */ public static function setSlotBindingMap($typeName, StatisticFieldBindingMap $srcBindingMap) { if ($typeName === DealSumStatisticEntry::TYPE_NAME) { DealSumStatisticEntry::setSlotBindingMap($srcBindingMap); } else { throw new Main\NotSupportedException("The type '{$typeName}' is not supported in current context."); } }