Page MenuHomePhabricator

CreatePrincipalSupport.php
No OneTemporary

CreatePrincipalSupport.php

<?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) 2007-2015 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);
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Jan 7, 7:13 PM (17 h, 21 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
914356
Default Alt Text
CreatePrincipalSupport.php (791 B)

Event Timeline