getConverterWithOptions() protected method

Get an instance of a converter with its options set.
protected getConverterWithOptions ( string $converterName ) : LdapTools\AttributeConverter\AttributeConverterInterface
$converterName string The name of the converter from the schema.
return LdapTools\AttributeConverter\AttributeConverterInterface
 /**
  * {@inheritdoc}
  */
 protected function getConverterWithOptions($converterName)
 {
     $converter = parent::getConverterWithOptions($converterName);
     $converter->setBatch($this->batches->get($this->currentBatchIndex));
     return $converter;
 }