refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
37
app/Http/Controllers/DAV/Backend/IDAVBackend.php
Normal file
37
app/Http/Controllers/DAV/Backend/IDAVBackend.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\DAV\Backend;
|
||||
|
||||
interface IDAVBackend
|
||||
{
|
||||
/**
|
||||
* Returns the uri for this backend.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function backendUri();
|
||||
|
||||
/**
|
||||
* Returns the object for the specific uuid.
|
||||
*
|
||||
* @param string|null $collectionId
|
||||
* @param string $uuid
|
||||
* @return mixed
|
||||
*/
|
||||
public function getObjectUuid($collectionId, $uuid);
|
||||
|
||||
/**
|
||||
* Returns the collection of objects.
|
||||
*
|
||||
* @param string|null $collectionId
|
||||
* @return \Illuminate\Support\Collection
|
||||
*/
|
||||
public function getObjects($collectionId);
|
||||
|
||||
/**
|
||||
* Returns the extension for this backend.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getExtension();
|
||||
}
|
||||
Reference in New Issue
Block a user