You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions edited this page Mar 29, 2026
·
1 revision
Interface PayloadAwareInterface.
Defines functionality for objects that encapsulate and manage a payload.
Implementations of this interface MUST provide immutable methods for accessing and replacing the payload.
The payload MAY be of any type supported by the implementation, including arrays, objects, scalars, or null.
Full name: \FastForward\Http\Message\PayloadAwareInterface
Methods
getPayload
Retrieves the payload contained within the object.
publicgetPayload(): mixed
This method MUST return the payload as originally provided or modified.
The returned type MAY vary depending on the structure of the payload (e.g., array, object, scalar, or null).
Return Value:
the payload, which MAY be of any type including array, object, scalar, or null