We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7d0b37 commit cfd7bfbCopy full SHA for cfd7bfb
src/GetStream/StreamLaravel/StreamLaravelManager.php
@@ -9,14 +9,14 @@ class StreamLaravelManager {
9
10
public function __construct($api_key, $api_secret, $config)
11
{
12
+ $this->config = $config;
13
if (getenv('STREAM_URL') !== false) {
14
$this->client = Client::herokuConnect(getenv('STREAM_URL'));
15
} else {
16
$this->client = new Client($api_key, $api_secret);
17
$location = $this->config->get("stream-laravel::location");
18
$this->client->setLocation($location);
19
}
- $this->config = $config;
20
$this->userFeed = $this->config->get("stream-laravel::user_feed");
21
22
0 commit comments