Passed
Push — master ( f881c5...014efc )
by Leo
02:57
created

Message::getMandatoryFields()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace leocata\M1\Methods;
4
5
use leocata\M1\Abstracts\Methods;
6
7
class Message extends Methods
8
{
9
10
    /**
11
     * Query of sessions with activity within specified time period
12
     */
13
    const PERIOD_ALL_TIME = 0;
14
    const PERIOD_LAST_MONTH = 1;
15
    const PERIOD_LAST_WEEK = 2;
16
    const PERIOD_LAST_DAY = 3;
17
18
    /**
19
     * Message type
20
     */
21
    const MESSAGE_TYPE_TEXT = 0;
22
    const MESSAGE_FILE_LINK = 2;
23
    const MESSAGE_ADD_CONFERENCE = 3;
24
    const MESSAGE_DELETE_CONFERENCE = 4;
25
    const MESSAGE_CONTACT_LINK = 10;
26
27
    /**
28
     * Message status
29
     */
30
    const MESSAGE_STATUS_INCOMING_NEW = 1;
31
    const MESSAGE_STATUS_INCOMING_OUTCOMING = 2;
32
    const MESSAGE_STATUS_OUTCOMING_UNREAD = 3;
33
    const MESSAGE_STATUS_OUTCOMING_OUTCOMING = 4;
34
35
    /**
36
     * Gets the name of all mandatory fields
37
     * @return array
38
     */
39
    public function getMandatoryFields(): array
40
    {
41
        return [];
42
    }
43
}
44