context; $scope = $this->scope; if (isset($context['_scope'])) { $scope = $context['_scope']; unset($context['_scope']); } return [ 'brief' => $this->brief, 'detail' => $this->detail, 'level' => $this->level, 'scope' => $scope, 'source' => $this->source, 'origin' => $this->origin, 'context' => $context, 'date' => $this->date?->format('Y-m-d H:i:s P'), ]; } }