src/FreeDSx/Asn1/Encoder/BerEncoder.php
public function setOptions(array $options)
    {
        if (isset($options['bitstring_padding']) && \is_string($options['bitstring_padding'])) {
            $this->options['bitstring_padding'] = $options['bitstring_padding'];
        }

        return $this;
    }
public function setOptions(array $options)
    {
        if (isset($options['bitstring_padding']) && \is_string($options['bitstring_padding'])) {
            $this->options['bitstring_padding'] = $options['bitstring_padding'];
        }

        return $this;
    }
public function setOptions ( array $ options ) { if ( isset ( $ options [ 'bitstring_padding' ] ) && \ is_string ( $ options [ 'bitstring_padding' ] ) ) { $ this -> options [ 'bitstring_padding' ] = $ options [ 'bitstring_padding' ] ; } return $ this ; }
Set the options for the encoder.

@param array $options
@return $this
Set the options for the encoder .