Event

class OC\Diagnostics\Event
Source:lib/private/Diagnostics/Event.php#28
Implements:OCP\Diagnostics\IEvent

Properties

protected static property OC\Diagnostics\Event::$id
Source:lib/private/Diagnostics/Event.php#32
Type:string
protected static property OC\Diagnostics\Event::$start
Source:lib/private/Diagnostics/Event.php#37
Type:float
protected static property OC\Diagnostics\Event::$end
Source:lib/private/Diagnostics/Event.php#42
Type:float
protected static property OC\Diagnostics\Event::$description
Source:lib/private/Diagnostics/Event.php#47
Type:string

Methods

public OC\Diagnostics\Event::__construct($id, $description, $start)
Source:

lib/private/Diagnostics/Event.php#54

Parameters:
  • $id (string)
  • $description (string)
  • $start (float)
public OC\Diagnostics\Event::end($time)
Source:

lib/private/Diagnostics/Event.php#63

Parameters:
  • $time (float)
public OC\Diagnostics\Event::getStart()
Source:lib/private/Diagnostics/Event.php#70
Returns:float
public OC\Diagnostics\Event::getId()
Source:lib/private/Diagnostics/Event.php#77
Returns:string
public OC\Diagnostics\Event::getDescription()
Source:lib/private/Diagnostics/Event.php#84
Returns:string
public OC\Diagnostics\Event::getEnd()
Source:lib/private/Diagnostics/Event.php#91
Returns:float
public OC\Diagnostics\Event::getDuration()
Source:lib/private/Diagnostics/Event.php#98
Returns:float