Segment_Client::getContext PHP Method

getContext() private method

Add the segment.io context to the request
private getContext ( ) : array
return array additional context
    private function getContext()
    {
        global $SEGMENT_VERSION;
        return array("library" => array("name" => "analytics-php", "version" => $SEGMENT_VERSION));
    }