Example #1
0
 public function __construct(DatabaseManager $database, array $payload = [], string $context = 'global.event', bool $halt = FALSE)
 {
     parent::__construct($payload, $halt);
     $this->database = $database;
     $this->context = $context;
     $this->halt = $halt;
 }
Example #2
0
 public function __construct(Application $app, array $payload = [], $halt = FALSE)
 {
     $this->app = $app;
     parent::__construct($payload, $halt);
 }