src/LdapTools/Resolver/BaseValueResolver.php
protected function getConverterWithOptions($converterName, $attribute)
    {
        $converter = AttributeConverterFactory::get($converterName);
        $converter->setOptions(array_merge(
            $this->schema->getConverterOptions($converterName, '_default'),
            $this->schema->getConverterOptions($converterName, $attribute)
        ));
        $converter->setOperationType($this->type);
        $converter->setLdapConnection($this->connection);
        $converter->setDn($this->dn);

        if ($converter instanceof OperationGeneratorInterface) {
            $converter->setOperation($this->operation);
        }

        return $converter;
    }
protected function getConverterWithOptions($converterName, $attribute)
    {
        $converter = AttributeConverterFactory::get($converterName);
        $converter->setOptions(array_merge(
            $this->schema->getConverterOptions($converterName, '_default'),
            $this->schema->getConverterOptions($converterName, $attribute)
        ));
        $converter->setOperationType($this->type);
        $converter->setLdapConnection($this->connection);
        $converter->setDn($this->dn);

        if ($converter instanceof OperationGeneratorInterface) {
            $converter->setOperation($this->operation);
        }

        return $converter;
    }
protected function getConverterWithOptions ( $ converterName , $ attribute ) { $ converter = AttributeConverterFactory :: get ( $ converterName ) ; $ converter -> setOptions ( array_merge ( $ this -> schema -> getConverterOptions ( $ converterName , '_default' ) , $ this -> schema -> getConverterOptions ( $ converterName , $ attribute ) ) ) ; $ converter -> setOperationType ( $ this -> type ) ; $ converter -> setLdapConnection ( $ this -> connection ) ; $ converter -> setDn ( $ this -> dn ) ; if ( $ converter instanceof OperationGeneratorInterface ) { $ converter -> setOperation ( $ this -> operation ) ; } return $ converter ; }
Get an instance of a converter with its options set.

@param string $converterName The name of the converter from the schema.
@param string $attribute The name of the attribute.
@return AttributeConverterInterface
Get an instance of a converter with its options set .