public function __construct(Sentry $sentry, Dispatcher $event) { $this->sentry = $sentry; $this->event = $event; }