From c68b5d31b3d10cb126d193f0c9d214bb765adc8d Mon Sep 17 00:00:00 2001 From: sakshamg1304 Date: Thu, 3 Oct 2024 15:15:52 +0530 Subject: [PATCH] chore: update README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 63e552b..84943fb 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,13 @@ $getFlag = $vwoClient->getFlag('feature_key', $userContext); $isFlagEnabled = $getFlag['isEnabled']; // get variable -$variableValue = $getFlag->getVariable('stringVar', 'default-value'); +$variableValue = $getFlag->getVariable('variable_key', 'default-value'); // track event -$trackRes = $vwoClient->trackEvent('event-name', $userContext); +$trackRes = $vwoClient->trackEvent('event_name', $userContext); // set Attribute -$setAttribute = $vwoClient->setAttribute('attribute-name', 'attribute-value', $userContext); +$setAttribute = $vwoClient->setAttribute('attribute_key', 'attribute_value', $userContext); ``` ## Changelog