mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
The diff can be checked using: git diff --ignore-all-space --ignore-blank-lines To see only the changes not related to blank lines. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
27 lines
566 B
PHP
27 lines
566 B
PHP
<?php
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\DAV\CalDAV\Principal;
|
|
|
|
/**
|
|
* Class Collection
|
|
*
|
|
* @package OCA\DAV\CalDAV\Principal
|
|
*/
|
|
class Collection extends \Sabre\CalDAV\Principal\Collection {
|
|
|
|
/**
|
|
* Returns a child object based on principal information
|
|
*
|
|
* @param array $principalInfo
|
|
* @return User
|
|
*/
|
|
#[\Override]
|
|
public function getChildForPrincipal(array $principalInfo) {
|
|
return new User($this->principalBackend, $principalInfo);
|
|
}
|
|
}
|