W3cubDocs

/PHP

The SoapHeader class

Introduction

(PHP 5, PHP 7, PHP 8)

Represents a SOAP header.

Class synopsis

class SoapHeader {
/* Properties */
public string $name;
public mixed $data = null;
/* Methods */
public __construct(
string $namespace,
string $name,
mixed $data = ?,
bool $mustunderstand = ?,
string $actor = ?
)
}

Properties

actor
data
mustUnderstand
name
namespace

Table of Contents

© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.soapheader.php