group() public static method

Tags traits about the group.
public static group ( array $message ) : boolean
$message array
return boolean whether the group call succeeded
Esempio n. 1
0
 function testEmptyArrayTraits()
 {
     $this->assertTrue(Segment::identify(array("userId" => "empty-traits", "traits" => array())));
     $this->assertTrue(Segment::group(array("userId" => "empty-traits", "groupId" => "empty-traits", "traits" => array())));
 }