public function setSeparatorTemplate($value) { if ($value instanceof ITemplate || $value === null) { $this->_separatorTemplate = $value; } else { throw new TInvalidDataTypeException('datalist_template_required', 'SeparatorTemplate'); } }