Skip to content

Commit

Permalink
Update Mapping.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nilportugues committed May 9, 2016
1 parent 72eaba8 commit a69382e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Domain/Model/Repository/Contracts/Mapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,11 @@ public function fromArray(array $data);
* @return array
*/
public function toArray($object);

/**
* The automatic generated strategy used will be the data-store's if set to true.
*
* @return bool
*/
public function autoGenerateId();
}

0 comments on commit a69382e

Please sign in to comment.