nextcloud/apps/dav/lib/Upload/RootCollection.php

24 lines
341 B
PHP
Raw Normal View History

<?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';
}
}