Skip to content

Adding "saveAll" method to allow the saving of a collection.#1

Open
axian11 wants to merge 1 commit intoair-php:masterfrom
axian11:feature/adding-save-all-collection
Open

Adding "saveAll" method to allow the saving of a collection.#1
axian11 wants to merge 1 commit intoair-php:masterfrom
axian11:feature/adding-save-all-collection

Conversation

@axian11
Copy link
Copy Markdown

@axian11 axian11 commented Jun 30, 2017

No description provided.

*/
public function saveAll(Collection $collection)
{
$this->saveAll($collection);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will create an infinite loop.

Did you mean $this->mapper->saveAll($collection)?

If so, you'll need to update the Mapper repository to support this first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants