AddFeaturePolicyEvent
        
        extends Event
    
    
            
            in package
            
        
    
    
    
Event that allows to register a feature policy header to a request.
Tags
Table of Contents
Properties
- $policyManager : FeaturePolicyManager
Methods
- __construct() : mixed
- Compatibility constructor
- addPolicy() : mixed
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$policyManager
        private
            FeaturePolicyManager
    $policyManager
    
    
    
    
    
    
Methods
__construct()
Compatibility constructor
    public
                    __construct(FeaturePolicyManager $policyManager) : mixed
    Parameters
- $policyManager : FeaturePolicyManager
Tags
addPolicy()
    public
                    addPolicy(EmptyFeaturePolicy $policy) : mixed
    Parameters
- $policy : EmptyFeaturePolicy
Tags
isPropagationStopped()
{@inheritDoc}
    public
                    isPropagationStopped() : bool
    Tags
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
    public
                    stopPropagation() : void