BeforeGetTemplatesEvent
        
        extends Event
    
    
            
            in package
            
        
    
    
    
Base event class for the event dispatcher service
Tags
Table of Contents
Properties
- $templates : array<string|int, Template>
 - $withFields : bool
 
Methods
- __construct() : mixed
 - Compatibility constructor
 - getTemplates() : array<string|int, Template>
 - isPropagationStopped() : bool
 - {@inheritDoc}
 - shouldGetFields() : bool
 - stopPropagation() : void
 - Stops the propagation of the event to further event listeners
 
Properties
$templates
        private
            array<string|int, Template>
    $templates
    
    
    
    
    
    
$withFields
        private
            bool
    $withFields
    
    
    
    
    
    
Methods
__construct()
Compatibility constructor
    public
                    __construct(array<string|int, Template> $templates[, bool $withFields = false ]) : mixed
    Parameters
- $templates : array<string|int, Template>
 - $withFields : bool = false
 
Tags
getTemplates()
    public
                    getTemplates() : array<string|int, Template>
    Tags
Return values
array<string|int, Template>isPropagationStopped()
{@inheritDoc}
    public
                    isPropagationStopped() : bool
    Tags
Return values
boolshouldGetFields()
    public
                    shouldGetFields() : bool
    Tags
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
    public
                    stopPropagation() : void