protected function hydrateOperation(BatchModifyOperation $operation, $type)
{
$this->hydrator->setOperationType(AttributeConverterInterface::TYPE_MODIFY);
if ($type) {
$this->hydrator->setLdapObjectSchema($this->schemaFactory->get($this->connection->getConfig()->getSchemaName(), $type));
}
$this->hydrator->hydrateToLdap($operation);
if ($type) {
$this->hydrator->setLdapObjectSchema(null);
}
}