Skip to content

Latest commit

 

History

History
91 lines (33 loc) · 774 Bytes

state.md

File metadata and controls

91 lines (33 loc) · 774 Bytes

state

A trait that allows the class to be serialized and unserialized.

  • Full name: \yxorP\lib\http\state

Methods

__set_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

setState

Setting the state of the object.

public setState(mixed $data): void

Parameters:

Parameter Type Description
$data mixed

toString

Setting the state of the object.

public toString(): string