BeforePersistingReportEvent

FinalYes

Event that is dispatched before persisting a new `\TYPO3\CMS\Core\Security\ContentSecurityPolicy\Reporting\Report`.

Table of Contents

Properties

$originalReport  : Report
$report  : Report|null
$request  : ServerRequestInterface

Methods

__construct()  : mixed

Properties

$report

public Report|null $report

Alternative report, or null to skip persistence

$request read-only

public ServerRequestInterface $request

Methods

__construct()

public __construct(Report $originalReport, ServerRequestInterface $request) : mixed
Parameters
$originalReport : Report

The original report created by for the CSP violation

$request : ServerRequestInterface

The HTTP POST request submitting the CSP violation


        
On this page

Search results