src/Bi/Connect/ConnectResponse.php
<?php
namespace Bi\Connect;
use Bi\Connect\Interfaces\ResponseInterface;
use Bi\Connect\Traits\ResponseTrait;
use Tightenco\Collect\Support\Collection;
class ConnectResponse implements ResponseInterface
{
use ResponseTrait;
/**
* ConnectResponse constructor.
*
* @param array $header
* @param array $body
* @param mixed $rawBody
*/
public function __construct(array $header, array $body, $rawBody)
{
$this->header = new Collection($header);
$this->body = new Collection($body);
$this->rawBody = $rawBody;
}
}