You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or you can also provide an implementation of the [`ProjectConfigManagerInterface`](https://github.com/optimizely/php-sdk/blob/master/src/Optimizely/ProjectConfigManager/ProjectConfigManagerInterface.php) in the constructor:
63
72
64
73
```php
74
+
<?php
75
+
76
+
use Optimizely\Optimizely;
77
+
use Optimizely\ProjectConfigManager\HTTPProjectConfigManager;
78
+
65
79
$configManager = new HTTPProjectConfigManager(<<SDK_KEY>>);
66
80
$optimizely = new Optimizely(
67
81
<<DATAFILE>>,
@@ -90,6 +104,10 @@ Calling `fetch` will update the internal ProjectConfig instance that will be ret
90
104
### Use HTTPProjectConfigManager
91
105
92
106
```php
107
+
<?php
108
+
109
+
use Optimizely\ProjectConfigManager\HTTPProjectConfigManager;
110
+
93
111
$configManager = new HTTPProjectConfigManager(<<SDK_KEY>>);
0 commit comments