Phergie_Event_Abstract::getType PHP Method

getType() public method

Returns the event type.
public getType ( ) : string
return string
    public function getType()
    {
        return $this->type;
    }

Usage Example

コード例 #1
0
ファイル: AbstractTest.php プロジェクト: phergie/phergie
 /**
  * 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());
 }
Phergie_Event_Abstract