getType() public method

Returns the event type.
public getType ( ) : string
return string
Beispiel #1
0
 /**
  * Tests that the event type can be changed.
  *
  * @return void
  */
 public function testSetType()
 {
     $type = 'foo';
     $this->event->setType($type);
     $this->assertEquals($type, $this->event->getType());
 }