public function __construct($ses, $verb = 'GET') { $this->ses = $ses; $this->verb = $verb; $this->response = (object) array('body' => '', 'code' => 0, 'error' => false); }