Beispiel #1
0
 /**
  * Flush a set of pushed events.
  *
  * @param string $event
  * @return void 
  * @static 
  */
 public static function flush($event)
 {
     \Illuminate\Events\Dispatcher::flush($event);
 }
 public function testFlushingWithoutPayloads()
 {
     $e = new Dispatcher();
     $e->flusher('foo', function () {
     });
     $e->flush('foo');
     // If we didn't have an exception the test passed
     $this->assertTrue(true);
 }