__construct() __construct(\Traversable $data, string $user, string $type) Constructor. Parameters \Traversable $data The backup data. string $user A user name. string $type A collection type like "calendar" or "contact".
getType() getType() : string Returns the type of objects or resources that this collection holds. Returns string — The collection type.