aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php
blob: 91cf78c296f726260272c002111026fbc48453f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/**
 * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCA\DAV\CalDAV\ResourceBooking;

use OCA\DAV\CalDAV\Proxy\ProxyMapper;
use OCP\IDBConnection;
use OCP\IGroupManager;
use OCP\IUserSession;
use Psr\Log\LoggerInterface;

/**
 * Class RoomPrincipalBackend
 *
 * @package OCA\DAV\CalDAV\ResourceBooking
 */
class RoomPrincipalBackend extends AbstractPrincipalBackend {

	/**
	 * RoomPrincipalBackend constructor.
	 */
	public function __construct(IDBConnection $dbConnection,
		IUserSession $userSession,
		IGroupManager $groupManager,
		LoggerInterface $logger,
		ProxyMapper $proxyMapper) {
		parent::__construct($dbConnection, $userSession, $groupManager, $logger,
			$proxyMapper, 'principals/calendar-rooms', 'room', 'ROOM');
	}
}