src/LdapTools/Object/LdapObjectManager.php
protected function hydrateOperation(BatchModifyOperation $operation, $type)
    {
        $this->hydrator->setOperationType(AttributeConverterInterface::TYPE_MODIFY);
        $this->hydrator->setLdapObjectSchema($type ? $this->schemaFactory->get($this->connection->getConfig()->getSchemaName(), $type) : null);
        $this->hydrator->hydrateToLdap($operation);
        $this->hydrator->setLdapObjectSchema(null);
    }
protected function hydrateOperation(BatchModifyOperation $operation, $type)
    {
        $this->hydrator->setOperationType(AttributeConverterInterface::TYPE_MODIFY);
        $this->hydrator->setLdapObjectSchema($type ? $this->schemaFactory->get($this->connection->getConfig()->getSchemaName(), $type) : null);
        $this->hydrator->hydrateToLdap($operation);
        $this->hydrator->setLdapObjectSchema(null);
    }
protected function hydrateOperation ( BatchModifyOperation $ operation , $ type ) { $ this -> hydrator -> setOperationType ( AttributeConverterInterface :: TYPE_MODIFY ) ; $ this -> hydrator -> setLdapObjectSchema ( $ type ? $ this -> schemaFactory -> get ( $ this -> connection -> getConfig ( ) -> getSchemaName ( ) , $ type ) : null ) ; $ this -> hydrator -> hydrateToLdap ( $ operation ) ; $ this -> hydrator -> setLdapObjectSchema ( null ) ; }
Get the batch modification array that ldap_modify_batch expects.

@param BatchModifyOperation $operation
@param string $type
Get the batch modification array that ldap_modify_batch expects .