public function __construct(LdapConnectionInterface $ldap) { $this->ldap = $ldap; $this->hydratorFactory = new HydratorFactory(); }