Nextcloud PHP API (master)

AddFeaturePolicyEvent extends Event
in package

Event that allows to register a feature policy header to a request.

Tags
since
17.0.0

Table of Contents

Properties

$policyManager  : FeaturePolicyManager
$propagationStopped  : bool

Methods

__construct()  : mixed
Compatibility constructor
addPolicy()  : mixed
isPropagationStopped()  : bool
{@inheritDoc}
stopPropagation()  : void
Stops the propagation of the event to further event listeners

Properties

$propagationStopped

private bool $propagationStopped = false
Tags
since
22.0.0

Methods

__construct()

Compatibility constructor

public __construct(FeaturePolicyManager $policyManager) : mixed
Parameters
$policyManager : FeaturePolicyManager
Tags
since
17.0.0

isPropagationStopped()

{@inheritDoc}

public isPropagationStopped() : bool
Tags
since
22.0.0
see
StoppableEventInterface
Return values
bool

stopPropagation()

Stops the propagation of the event to further event listeners

public stopPropagation() : void
Tags
since
22.0.0

        
On this page

Search results