Skip to content

Commit

Permalink
Fix composite key serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer committed Mar 26, 2015
1 parent f1ae0e3 commit 9c33b16
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function serialize()
$simpleReferences = array();

foreach ($this->getReferences() as $name => $reference) {
$reference = $this->getReference($name);
$className = $this->getRealClass(get_class($reference));

$simpleReferences[$name] = array($className, $this->getIdentifier($reference, $unitOfWork));
Expand Down

0 comments on commit 9c33b16

Please # to comment.