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