EffectLinksResponse
in package
Represents HAL navigation links for effect resources
This response provides hypermedia links to related resources and navigation endpoints following the HAL specification. Enables traversal of effects and related operations.
Tags
Table of Contents
Methods
- fromJson() : EffectLinksResponse
- Creates an instance from JSON data
- getOperation() : LinkResponse
- Gets the link to the operation that created this effect
- getPrecedes() : LinkResponse
- Gets the link to the preceding effect
- getSucceeds() : LinkResponse
- Gets the link to the succeeding effect
- loadFromJson() : void
- Loads object data from JSON array
Methods
fromJson()
Creates an instance from JSON data
public
static fromJson(array<string|int, mixed> $json) : EffectLinksResponse
Parameters
- $json : array<string|int, mixed>
-
JSON data array
Return values
EffectLinksResponsegetOperation()
Gets the link to the operation that created this effect
public
getOperation() : LinkResponse
Return values
LinkResponse —The operation link
getPrecedes()
Gets the link to the preceding effect
public
getPrecedes() : LinkResponse
Return values
LinkResponse —The precedes link
getSucceeds()
Gets the link to the succeeding effect
public
getSucceeds() : LinkResponse
Return values
LinkResponse —The succeeds link
loadFromJson()
Loads object data from JSON array
protected
loadFromJson(array<string|int, mixed> $json) : void
Parameters
- $json : array<string|int, mixed>
-
JSON data array