Автор: Chad Sikorra (Chad.Sikorra@gmail.com)
Пример #1
0
 /**
  * {@inheritdoc}
  */
 protected function getConverterWithOptions($converterName)
 {
     $converter = parent::getConverterWithOptions($converterName);
     $converter->setBatch($this->batches->get($this->currentBatchIndex));
     return $converter;
 }
Пример #2
0
 /**
  * @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;
 }
Пример #3
0
 /**
  * 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;
 }