PolicyMutatedEvent implements StoppableEventInterface
FinalYes
Table of Contents
Interfaces
- StoppableEventInterface
Properties
- $defaultPolicy : Policy
- $request : ServerRequestInterface|null
- $scope : Scope
Methods
- __construct() : mixed
- getCurrentPolicy() : Policy
- getMutationCollections() : array<int, MutationCollection>
- isPropagationStopped() : bool
- setCurrentPolicy() : void
- setMutationCollections() : void
- stopPropagation() : void
Properties
$defaultPolicy read-only
        public
            Policy
    $defaultPolicy
    
    
    
    
    
    
$request read-only
        public
            ServerRequestInterface|null
    $request
    
    
    
    
    
    
$scope read-only
        public
            Scope
    $scope
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(Scope $scope, ServerRequestInterface|null $request, Policy $defaultPolicy, Policy $currentPolicy, MutationCollection ...$mutationCollections) : mixed
    Parameters
- $scope : Scope
- $request : ServerRequestInterface|null
- $defaultPolicy : Policy
- $currentPolicy : Policy
- $mutationCollections : MutationCollection
getCurrentPolicy()
    public
                    getCurrentPolicy() : Policy
    Return values
PolicygetMutationCollections()
    public
                    getMutationCollections() : array<int, MutationCollection>
    Return values
array<int, MutationCollection>isPropagationStopped()
    public
                    isPropagationStopped() : bool
    Return values
boolsetCurrentPolicy()
    public
                    setCurrentPolicy(Policy $currentPolicy) : void
    Parameters
- $currentPolicy : Policy
setMutationCollections()
    public
                    setMutationCollections(MutationCollection ...$mutationCollections) : void
    Parameters
- $mutationCollections : MutationCollection
stopPropagation()
    public
                    stopPropagation() : void