|
@@ -21,7 +21,7 @@ |
|
|
block discarded – undo |
|
21
|
21
|
public function byId($id) { |
|
22
|
22
|
if (!isset($this->repository[$id])) { |
|
23
|
23
|
list($name, $league) = explode('|', $id); |
|
24
|
|
- $factory = $this->entityManager->factory($this->getEntityTypeName()); |
|
|
24
|
+ $factory = $this->entityManager->factory($this->getEntityTypeName()); |
|
25
|
25
|
$this->repository[$id] = $factory->create( |
|
26
|
26
|
$this->entityManager->reverseMapProperties( |
|
27
|
27
|
(object) array('id' => $id, 'name' => $name, 'league' => (object) array('id' => $league)), |
Please login to merge, or discard this patch.