public function export(LoopModelInterface $loop, $all = false) { $this->stop(); $loop->stop(); $list = $all === true ? $this : $this->getTransferableProperties(); foreach ($list as $key => $val) { $loop->{$key} = $this->{$key}; } return $this; }