FreeBusyData
in package
FreeBusyData is a helper class that manages freebusy information.
Tags
Table of Contents
- $data : array<string|int, mixed>
- A list of free-busy times.
- $end : int
- End timestamp.
- $start : int
- Start timestamp.
- __construct() : mixed
- add() : mixed
- Adds free or busytime to the data.
- getData() : mixed
Properties
$data
A list of free-busy times.
protected
array<string|int, mixed>
$data
$end
End timestamp.
protected
int
$end
$start
Start timestamp.
protected
int
$start
Methods
__construct()
public
__construct(mixed $start, mixed $end) : mixed
Parameters
- $start : mixed
- $end : mixed
Return values
mixed —add()
Adds free or busytime to the data.
public
add(int $start, int $end, string $type) : mixed
Parameters
- $start : int
- $end : int
- $type : string
-
FREE, BUSY, BUSY-UNAVAILABLE or BUSY-TENTATIVE
Return values
mixed —getData()
public
getData() : mixed