protected function unsupportedActionResponse($json) { $error = new Error('Unsupported Action', json_decode($json)); return $this->createResponse(new UnsupportedAction([$error])); }