Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SilencedErrorContext.php

function SilencedErrorContext::jsonSerialize

File

vendor/symfony/error-handler/Exception/SilencedErrorContext.php, line 53

Class

SilencedErrorContext
Data Object that represents a Silenced Error.

Namespace

Symfony\Component\ErrorHandler\Exception

Code

public function jsonSerialize() : array {
    return [
        'severity' => $this->severity,
        'file' => $this->file,
        'line' => $this->line,
        'trace' => $this->trace,
        'count' => $this->count,
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal