LdapTools\Security\SecurityDescriptor::__construct PHP Method

__construct() public method

public __construct ( null | string $descriptor = null )
$descriptor null | string
    public function __construct($descriptor = null)
    {
        $this->rmControlFlags = new Flags(0);
        $this->controlFlags = new ControlFlags(ControlFlags::FLAG['SELF_RELATIVE']);
        if ($descriptor) {
            $this->decodeFromBinary($descriptor);
        }
    }