A trait that allows the class to be serialized and unserialized.
- Full name:
\yxorP\lib\http\state
A magic method that allows the class to be serialized and unserialized.
public static __set_state(mixed $data): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$data |
mixed |
Setting the state of the object.
public setState(mixed $data): void
Parameters:
Parameter | Type | Description |
---|---|---|
$data |
mixed |
Setting the state of the object.
public toString(): string