public function asT61String(): Primitive\T61String
    {
        if (!$this->_element instanceof Primitive\T61String) {
            throw new \UnexpectedValueException(
                $this->_generateExceptionMessage(Element::TYPE_T61_STRING));
        }
        return $this->_element;
    }
public function asT61String(): Primitive\T61String
    {
        if (!$this->_element instanceof Primitive\T61String) {
            throw new \UnexpectedValueException(
                $this->_generateExceptionMessage(Element::TYPE_T61_STRING));
        }
        return $this->_element;
    }
public function asT61String ( ) : Primitive \ T61String { if ( ! $ this -> _element instanceof Primitive \ T61String ) { throw new \ UnexpectedValueException ( $ this -> _generateExceptionMessage ( Element :: TYPE_T61_STRING ) ) ; } return $ this -> _element ; }
Get the wrapped element as a T61 string type.

@throws \UnexpectedValueException If the element is not a T61 string
@return \ASN1\Type\Primitive\T61String
Get the wrapped element as a T61 string type .