for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* ActiveRecord for API
*
* @link https://github.com/hiqdev/yii2-hiart
* @package yii2-hiart
* @license BSD-3-Clause
* @copyright Copyright (c) 2015-2019, HiQDev (http://hiqdev.com/)
*/
namespace hiqdev\hiart\proxy;
abstract class Response extends \hiqdev\hiart\AbstractResponse
{
* @var object
protected $worker;
public function __construct(Request $request, $worker)
$this->request = $request;
$this->worker = $worker;
}
public function getWorker()
return $this->worker;
public function getHeader($name)
return $this->worker->getHeader($name);
public function getStatusCode()
return $this->worker->getStatusCode();
public function getHeaders()
return $this->worker->getHeaders();
public function getReasonPhrase()
return $this->worker->getReasonPhrase();