BeforeShareCreatedEvent
extends Event
in package
Base event class for the event dispatcher service
Tags
Table of Contents
Properties
- $error : string|null
- $propagationStopped : bool
- $share : IShare
Methods
- __construct() : mixed
- Compatibility constructor
- getError() : string|null
- getShare() : IShare
- isPropagationStopped() : bool
- {@inheritDoc}
- setError() : void
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$error
private
string|null
$error
= null
$propagationStopped
private
bool
$propagationStopped
= false
Tags
$share
private
IShare
$share
Methods
__construct()
Compatibility constructor
public
__construct(IShare $share) : mixed
Parameters
- $share : IShare
Tags
getError()
public
getError() : string|null
Tags
Return values
string|nullgetShare()
public
getShare() : IShare
Tags
Return values
IShareisPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolsetError()
public
setError(string $error) : void
Parameters
- $error : string
Tags
stopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void