EventCertain::getRessourceName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Wabel\CertainAPI\Ressources;
4
5
use Wabel\CertainAPI\Interfaces\CertainRessourceInterface;
6
use Wabel\CertainAPI\CertainRessourceAbstract;
7
8
/**
9
 * EventCertain about the Event entity
10
 *
11
 * @author rbergina
12
 */
13
class EventCertain extends CertainRessourceAbstract implements CertainRessourceInterface
14
{
15
16
    public function getRessourceName()
17
    {
18
        return 'Event';
19
    }
20
21
    public function getMandatoryFields()
22
    {
23
        return array("eventCode", "accountCode", "eventName",
24
            "eventStatus", "notes", "startDate",
25
            "endDate", "timezone");
26
    }
27
}