replication after find laravel code example
Example: replication after find laravel
$tasks = Tasks::find(1);
$newTask = $tasks->replicate();
$newTask->save();
$tasks = Tasks::find(1);
$newTask = $tasks->replicate();
$newTask->save();