| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 8 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 2 | ||
| Bugs | 2 | Features | 0 | 
| 1 | <?php | ||
| 41 | public function hydrate(array $data, $object) | ||
| 42 |     { | ||
| 43 |         if (!$object instanceof UserEntityInterface) { | ||
| 44 |             throw new Exception\InvalidArgumentException('$object must be an instance of ZfcUser\Entity\UserInterface'); | ||
| 45 | } | ||
| 46 |         $data = $this->mapField('user_id', 'id', $data); | ||
| 47 | return parent::hydrate($data, $object); | ||
| 48 | } | ||
| 49 | |||
| 57 |