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 $server = null ]) : mixed
Parameters
- $server : mixed = null
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