| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | abstract class AbstractHydrator implements HydratorInterface |
||
| 16 | { |
||
| 17 | use HydrateWithMapTrait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string[] |
||
| 21 | */ |
||
| 22 | private $attributeMap; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | 6 | public function setAttributeMap(array $attributeMap) |
|
| 28 | { |
||
| 29 | 6 | $this->attributeMap = $attributeMap; |
|
| 30 | 6 | } |
|
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | 5 | public function hydrate(array $ldapEntry) |
|
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | abstract protected function createUser(); |
||
| 52 | } |
||
| 53 |