| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 85.71% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Pz\Doctrine\Rest\Traits; |
||
| 10 | trait CanHydrate |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param string|object $entity |
||
| 14 | * @param EntityManager $em |
||
| 15 | * @param RestRequestContract $request |
||
| 16 | * |
||
| 17 | * @return object |
||
| 18 | * @throws \Exception |
||
| 19 | */ |
||
| 20 | 3 | protected function hydrate($entity, EntityManager $em, RestRequestContract $request) |
|
| 35 |