public function __construct($content = '') { parent::__construct(''); $this->getHeaders()->set('Content-type', 'application/json; charset=UTF-8'); $this->setContent($content); }
public function __construct(array $response) { parent::__construct($response); $this->fill(); }