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; }
public function __construct(Application $app, array $payload = [], $halt = FALSE) { $this->app = $app; parent::__construct($payload, $halt); }