2ce2de0ae5
register CommentsManager service, allow override, document in config.sample.php don't insert autoincrement ids in tests, because of dislikes from oracle and pgsql specify timezone in null date only accepts strings for ID parameter that can be converted to int replace forgotten hardcoded IDs in tests react on deleted users react on file deletion Postgresql compatibility lastInsertId needs *PREFIX* with the table name do not listen for file deletion, because it is not reliable (trashbin, external storages) add runtime cache for comments
22 lines
371 B
PHP
22 lines
371 B
PHP
<?php
|
|
|
|
namespace OCP\Comments;
|
|
|
|
/**
|
|
* Interface IComment
|
|
*
|
|
* This class represents a comment and offers methods for modification.
|
|
*
|
|
* @package OCP\Comments
|
|
* @since 9.0.0
|
|
*/
|
|
interface ICommentsManagerFactory {
|
|
|
|
/**
|
|
* creates and returns an instance of the ICommentsManager
|
|
*
|
|
* @return ICommentsManager
|
|
* @since 9.0.0
|
|
*/
|
|
public function getManager();
|
|
}
|