LdapTools\Resolver\BaseValueResolver::__construct PHP Method

__construct() public method

public __construct ( LdapObjectSchema $schema = null, integer $type )
$schema LdapTools\Schema\LdapObjectSchema
$type integer
    public function __construct(LdapObjectSchema $schema = null, $type)
    {
        $this->type = $type;
        $this->schema = $schema;
        if ($schema) {
            $this->options = $schema->getConverterOptions();
        }
    }

Usage Example

 /**
  * @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;
 }
All Usage Examples Of LdapTools\Resolver\BaseValueResolver::__construct