Skip to content

FreeBusyData

FreeBusyData is a helper class that manages freebusy information.

  • Full name: \Sabre\VObject\FreeBusyData

Properties

start

Start timestamp.

protected int $start

end

End timestamp.

protected int $end

data

A list of free-busy times.

protected array $data

Methods

__construct

public __construct(mixed $start, mixed $end): mixed

Parameters:

Parameter Type Description
$start mixed
$end mixed

add

Adds free or busytime to the data.

public add(int $start, int $end, string $type): mixed

Parameters:

Parameter Type Description
$start int
$end int
$type string FREE, BUSY, BUSY-UNAVAILABLE or BUSY-TENTATIVE

getData

public getData(): mixed


Automatically generated on 2025-03-18