original_string: public function asBMPString(): Primitive\BMPString
      {
          if (!$this->_element instanceof Primitive\BMPString) {
              throw new \UnexpectedValueException(
                  $this->_generateExceptionMessage(Element::TYPE_BMP_STRING));
          }
          return $this->_element;
      }
code: public function asBMPString(): Primitive\BMPString
      {
          if (!$this->_element instanceof Primitive\BMPString) {
              throw new \UnexpectedValueException(
                  $this->_generateExceptionMessage(Element::TYPE_BMP_STRING));
          }
          return $this->_element;
      }
code_tokens: public function asBMPString ( ) : Primitive \ BMPString { if ( ! $ this -> _element instanceof Primitive \ BMPString ) { throw new \ UnexpectedValueException ( $ this -> _generateExceptionMessage ( Element :: TYPE_BMP_STRING ) ) ; } return $ this -> _element ; }
docstring: Get the wrapped element as a BMP string type.
  
  @throws \UnexpectedValueException If the element is not a bmp string
  @return \ASN1\Type\Primitive\BMPString
docstring_tokens: Get the wrapped element as a BMP string type .