| 79 | | // add attributes and child elements |
|---|
| 80 | | if ($def instanceof TagDefinition) { |
|---|
| 81 | | $this->addAttributesToValue($tag, $def, $instance); |
|---|
| 82 | | $this->addCDataToValue($tag, $def, $instance); |
|---|
| | 79 | if (null != $instance && get_class($instance) !== false) { |
|---|
| | 80 | // add attributes and child elements |
|---|
| | 81 | if ($def instanceof TagDefinition) { |
|---|
| | 82 | $this->addAttributesToValue($tag, $def, $instance); |
|---|
| | 83 | $this->addCDataToValue($tag, $def, $instance); |
|---|
| | 84 | } |
|---|
| | 85 | $this->addChildrenToValue($tag, $def, $instance, $factoryMethod->getUsedChildrenNames()); |
|---|