BeforeSabrePubliclyLoadedEvent
extends SabrePluginEvent
in package
Dispatched before Sabre is loaded when accessing public webdav endpoints This can be used to inject a Sabre plugin for example
Tags
Table of Contents
Properties
- $message : string
- $server : Server
- $statusCode : int
- $propagationStopped : bool
Methods
- __construct() : mixed
- Compatibility constructor
- getMessage() : string
- getServer() : null|Server
- getStatusCode() : int
- isPropagationStopped() : bool
- {@inheritDoc}
- setMessage() : self
- setStatusCode() : self
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$message
protected
string
$message
$server
protected
Server
$server
$statusCode
protected
int
$statusCode
$propagationStopped
private
bool
$propagationStopped
= false
Tags
Methods
__construct()
Compatibility constructor
public
__construct() : mixed
In Nextcloud 17.0.0 this event class used a now deprecated/removed Symfony base class that had a constructor (with default arguments). To lower the risk of a breaking change (PHP won't allow parent constructor calls if there is none), this empty constructor's only purpose is to hopefully not break existing sub- classes of this class.
Tags
getMessage()
public
getMessage() : string
Tags
Return values
stringgetServer()
public
getServer() : null|Server
Tags
Return values
null|ServergetStatusCode()
public
getStatusCode() : int
Tags
Return values
intisPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolsetMessage()
public
setMessage(string $message) : self
Parameters
- $message : string
Tags
Return values
selfsetStatusCode()
public
setStatusCode(int $statusCode) : self
Parameters
- $statusCode : int
Tags
Return values
selfstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void