Habari\RestResponse::__construct PHP Метод

__construct() публичный Метод

Constructor for a REST response, sets the intended response for the request
public __construct ( array | string $response )
$response array | string The intended response to the REST request
    public function __construct($response)
    {
        $this->response = $response;
    }