Retrieve a single unique result from LDAP. If the result is empty or contains more than one entry, an exception
is thrown.
public getSingleResult ( string $hydratorType = HydratorFactory::TO_OBJECT ) : array | |
||
$hydratorType | string | A hyrdrator type constant from the factory. |
return | array | |