public function __construct(MessageBuilder $parent = null) { $this->parent = $parent; $this->fields = new FieldCollection(); }