Skip to content

Commit

Permalink
Merge pull request #14 from zumba/fix-readme
Browse files Browse the repository at this point in the history
Fixing few issues in readme
  • Loading branch information
bgarb002 committed May 9, 2016
2 parents bbca31d + 2173acb commit 26e354d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -73,6 +73,7 @@ class ChattyLogger extends \Psr\Log\AbstractLogger
if (!empty($context)) {
echo '<strong>Context:</strong><br><span class="code">'.print_r($context,true).'</span>';
}
echo '</p>';
}
}

Expand Down Expand Up @@ -332,7 +333,7 @@ unset($event->productId);

### Sending or Queuing the Event

Once you have set all the event properties, you can then send or queue the event, just by calling `$amplitude->queueEvent()` or `$amplitude->sendEvent()`.
Once you have set all the event properties, you can then send or queue the event, just by calling `$amplitude->queueEvent()` or `$amplitude->logEvent()`.

Note: If you just created a new `Event` object, before calling `queueEvent()` or `logEvent()`, you must pass that event into amplitude like this:
```php
Expand Down

0 comments on commit 26e354d

Please sign in to comment.