Skip to content

Commit

Permalink
update docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Apr 18, 2016
1 parent a5fb82d commit 605bc59
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/ORM/Table.php
Expand Up @@ -1619,10 +1619,14 @@ protected function _update($entity, $data)
}

/**
* Saves multiple records for a table.
* Persists multiple entities of a table.
*
* The records will be saved in a transaction which will be rolled back if
* any one of the records fails to save due to failed validation or datbase
* error.
*
* @param array|\Cake\ORM\ResultSet $entities Entities to save.
* @param array $options Options used when calling Table::save() for each entity.
* @param array|\ArrayAccess $options Options used when calling Table::save() for each entity.
* @return bool|array|\Cake\ORM\ResultSet False on failure, entities list on succcess.
*/
public function saveMany($entities, $options = [])
Expand Down

0 comments on commit 605bc59

Please sign in to comment.