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