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