blob: e354a697dfa2c96b7975a52bda0c6ecd9060a492 (
plain) (
blame)
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
|
<?php
namespace Sabre\DAVACL\PrincipalBackend;
use Sabre\DAV\MkCol;
/**
* Implement this interface to add support for creating new principals to your
* principal backend.
*
* @copyright Copyright (C) fruux GmbH (https://fruux.com/)
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
interface CreatePrincipalSupport extends BackendInterface {
/**
* Creates a new principal.
*
* This method receives a full path for the new principal. The mkCol object
* contains any additional webdav properties specified during the creation
* of the principal.
*
* @param string $path
* @param MkCol $mkCol
* @return void
*/
function createPrincipal($path, MkCol $mkCol);
}
|