Move OTYPE constants to own enum class

This commit is contained in:
nupplaPhil 2020-02-04 22:01:55 +01:00
parent e42b843505
commit 97b6f6b3b3
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 16 additions and 6 deletions

View 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';
}