Move OTYPE constants to own enum class
This commit is contained in:
14
src/Model/Notify/ObjectType.php
Normal file
14
src/Model/Notify/ObjectType.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Friendica\Model\Notify;
|
||||
|
||||
/**
|
||||
* Enum for different otypes of the Notify
|
||||
*/
|
||||
class ObjectType
|
||||
{
|
||||
const PERSON = 'person';
|
||||
const MAIL = 'mail';
|
||||
const ITEM = 'item';
|
||||
const INTRO = 'intro';
|
||||
}
|
||||
Reference in New Issue
Block a user