/** * {@inheritdoc} */ protected function getConverterWithOptions($converterName) { $converter = parent::getConverterWithOptions($converterName); $converter->setBatch($this->batches->get($this->currentBatchIndex)); return $converter; }
/** * @param LdapObjectSchema $schema * @param OperatorCollection $operators * @param int $type The LDAP operation type. See AttributeConverterInterface::TYPE_*. */ public function __construct(LdapObjectSchema $schema = null, OperatorCollection $operators, $type) { parent::__construct($schema, $type); $this->operators = $operators; }
/** * Retrieve the AttributeValueResolver instance with the connection and other information set if needed. * * @param BaseValueResolver $valueResolver * @param null|string $dn */ protected function configureValueResolver(BaseValueResolver $valueResolver, $dn = null) { if ($this->connection) { $valueResolver->setLdapConnection($this->connection); } if (!is_null($dn)) { $valueResolver->setDn($dn); } }
/** * @param LdapObjectSchema $schema * @param array $entry The [ attribute => value ] entries. * @param int $type The LDAP operation type. See AttributeConverterInterface::TYPE_*. */ public function __construct(LdapObjectSchema $schema, array $entry, $type) { parent::__construct($schema, $type); $this->entry = $entry; }