File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Segment PHP Client
22===================
33
4- [ ![ Build Status] ( https://travis-ci.org/uecode/segment-io-php.svg?branch=master )] ( https://travis-ci.org/uecode/segment-io-php ) [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/uecode/segment-io-php/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/uecode/segment-io-php/?branch=master )
4+ [ ![ Build Status] ( https://travis-ci.org/uecode/segment-io-php.svg?branch=master )] ( https://travis-ci.org/uecode/segment-io-php ) [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/uecode/segment-io-php/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/uecode/segment-io-php/?branch=master )
55
66This library provides a Web Service Client for the Segment.io HTTP API
77using [ Guzzle v4] ( http://guzzlephp.org ) .
@@ -12,7 +12,8 @@ use SegmentIO\Client;
1212
1313$client = new Client(['write_key' => $writeKey]);
1414
15- // Identify the user
15+ // Identify the user - assuming, below, that you
16+ // have a $user object from your database
1617$client->identify([
1718 'userId' => $user->getId(),
1819 'traits' => [
You can’t perform that action at this time.
0 commit comments