NodeAddedToFavorite
extends Event
in package
Base event class for the event dispatcher service
Tags
Table of Contents
Properties
- $fileId : int
- $path : string
- $user : IUser
- $propagationStopped : bool
Methods
- __construct() : mixed
- Compatibility constructor
- getFileId() : int
- getPath() : string
- getUser() : IUser
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$fileId
protected
int
$fileId
$path
protected
string
$path
$user
protected
IUser
$user
$propagationStopped
private
bool
$propagationStopped
= false
Tags
Methods
__construct()
Compatibility constructor
public
__construct(IUser $user, int $fileId, string $path) : mixed
Parameters
- $user : IUser
- $fileId : int
- $path : string
Tags
getFileId()
public
getFileId() : int
Tags
Return values
intgetPath()
public
getPath() : string
Tags
Return values
stringgetUser()
public
getUser() : IUser
Tags
Return values
IUserisPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void