/** * @param GatheringLog $log * @return GatheringLog */ public function add(GatheringLog $log) { $instance = $this->eloquent->newInstance(); $instance->telephone_no = $log->getTelephoneNo()->getTelNo(); $instance->pushed = $log->getPushed(); $instance->save(); }