getRawData() public method

Returns the raw buffer sent from the server for the event.
public getRawData ( ) : string
return string
Beispiel #1
0
 /**
  * Tests that the raw data associated with the event can be changed.
  *
  * @return void
  */
 public function testSetRawData()
 {
     $expected = 'foo';
     $this->event->setRawData($expected);
     $actual = $this->event->getRawData();
     $this->assertSame($expected, $actual);
 }