Documentation

ResponseDataTrait

The ResponseDataTrait provides a trait for handling JSON response data.

This trait defines a method for handling a JSON response object.

Table of Contents

Properties

$response  : object
The response object.

Methods

handle()  : self
Handle the JSON response object.

Properties

Methods

handle()

Handle the JSON response object.

public handle(object $response) : self
Parameters
$response : object

The JSON response object.

Return values
self

The instance of the class.


        
On this page

Search results