summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/upload/rootcollection.php
blob: 673a37343186f79ea053f15f9ca3038f5f54fa4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

namespace OCA\DAV\Upload;

use Sabre\DAVACL\AbstractPrincipalCollection;

class RootCollection extends AbstractPrincipalCollection {

	/**
	 * @inheritdoc
	 */
	function getChildForPrincipal(array $principalInfo) {
		return new UploadHome($principalInfo);
	}

	/**
	 * @inheritdoc
	 */
	function getName() {
		return 'uploads';
	}

}