SabrePluginEvent

class OCP\SabrePluginEvent
Source:lib/public/SabrePluginEvent.php#34
Parent:Symfony\Component\EventDispatcher\Event

Properties

protected static property OCP\SabrePluginEvent::$statusCode
Source:lib/public/SabrePluginEvent.php#37
Type:int
protected static property OCP\SabrePluginEvent::$message
Source:lib/public/SabrePluginEvent.php#40
Type:string
protected static property OCP\SabrePluginEvent::$server
Source:lib/public/SabrePluginEvent.php#43
Type:\Sabre\DAV\Server

Methods

public OCP\SabrePluginEvent::__construct($server=null)
Source:lib/public/SabrePluginEvent.php#48
Since:8.2.0
public OCP\SabrePluginEvent::setStatusCode($statusCode)
Source:

lib/public/SabrePluginEvent.php#59

Parameters:
  • $statusCode (int)
Returns:

self

Since:

8.2.0

public OCP\SabrePluginEvent::setMessage($message)
Source:

lib/public/SabrePluginEvent.php#69

Parameters:
  • $message (string)
Returns:

self

Since:

8.2.0

public OCP\SabrePluginEvent::getStatusCode()
Source:lib/public/SabrePluginEvent.php#78
Returns:int
Since:8.2.0
public OCP\SabrePluginEvent::getMessage()
Source:lib/public/SabrePluginEvent.php#86
Returns:string
Since:8.2.0
public OCP\SabrePluginEvent::getServer()
Source:lib/public/SabrePluginEvent.php#94
Returns:null | \Sabre\DAV\Server
Since:9.0.0