public function __construct($jsonResponse = null) { if ($jsonResponse !== null) { $this->parseJsonResponse($jsonResponse); } }