saveMany basics

Hello,

We are trying to come up with the right way of saving our data in this scenario.

We have a time entry form where we will select the date at the top
Below that will be a list of employees (consisting of an employee ID, first name and last name) and then a field for time in, and a field for a timecode. (blanks are “normal” days, other codes used for sick, vacation etc.)

sample_form

I think what we need to use is saveMany. (https://book.cakephp.org/3.0/en/orm/saving-data.html#saving-multiple-entities) I am just not grasping how to actually implement it particularly in this scenario.

What is your question?

Since I am not grasping how to implement it…How do I implement it?

If someone has a step by step example of how to do a basic saveMany that might be helpful.