for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace garethp\ews\API;
class MiddlewareResponse
{
protected $response;
protected function __construct($response = null)
$this->response = $response;
}
public static function newResponse($response = null)
$response = new static($response);
return $response;
public function getResponse()
return $this->response;
public function setResponse($response)
return $this;