Skip to content

Instantly share code, notes, and snippets.

@hdj-typoconsult
Created September 28, 2023 16:04
Show Gist options
  • Save hdj-typoconsult/fbf3579a2ba38a347c1f488976116852 to your computer and use it in GitHub Desktop.
Save hdj-typoconsult/fbf3579a2ba38a347c1f488976116852 to your computer and use it in GitHub Desktop.
<?php
declare(strict_types=1);
namespace TYPO3\CMS\Core\Security\ContentSecurityPolicy\Event;
use TYPO3\CMS\Core\Security\ContentSecurityPolicy\Reporting\Report;
final class AfterPersistCspReportEvent
{
public function __construct(
private Report $mutableProperty,
) {}
/**
* @return Report
*/
public function getMutableProperty(): Report
{
return $this->mutableProperty;
}
/**
* @param Report $mutableProperty
*
* @return void
*/
public function setMutableProperty(Report $mutableProperty): void
{
$this->mutableProperty = $mutableProperty;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment