public function withData(DataInterface $data) { $new = clone $this; $new->add($data->export()); return $new; }
/** * {@inheritdoc} */ public function importData(DataInterface $data, $clobber = true) { $this->import($data->export(), $clobber); }