Skip to content

Commit 531a817

Browse files
authored
Merge pull request #33 from launchdarkly/dr/v2
V2
2 parents a02ebff + 674dc1b commit 531a817

24 files changed

+1239
-557
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Your first feature flag
3030
2. In your application code, use the feature's key to check whether the flag is on for each user:
3131

3232
$user = new LaunchDarkly\LDUser("[email protected]");
33-
if ($client->toggle("your.flag.key", $user)) {
33+
if ($client->variation("your.flag.key", $user)) {
3434
# application code to show the feature
3535
} else {
3636
# the code to run if the feature is off

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0
1+
2.0.0

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
}
1515
],
1616
"require": {
17-
"php": ">=5.5"
17+
"php": ">=5.5",
18+
"psr/log": "1.0.0"
1819
},
1920
"require-dev": {
2021
"guzzlehttp/guzzle": "6.2.1",
@@ -27,6 +28,7 @@
2728
"suggested": {
2829
"guzzlehttp/guzzle": "6.2.1",
2930
"kevinrob/guzzle-cache-middleware": "1.4.1",
31+
"monolog/monolog": "1.21.0",
3032
"predis/predis": "1.0.*"
3133
},
3234
"autoload": {

0 commit comments

Comments
 (0)