description() public method

Set the human-friendly description of the event.
public description ( string $description )
$description string
Example #1
0
 public function testName()
 {
     $e = new Event($this->id, 'php foo');
     $e->description('Testing Cron');
     $this->assertEquals('Testing Cron', $e->description);
 }