PhpTek\Sentry\Adaptor\SentryAdaptor::getContext
Get _locally_ set contextual data, that we should be able to get from Sentry's current {@link Scope}.
Note: This (re) sets data to a new instance of for passing to captureMessage(). One would expect this to be set by default, as it is for $record data sent to Sentry via captureException(), but it isn't.
Signature
public function getContext()
Returns
- Scope