Passed
Pull Request — 1.11.x (#4160)
by Angel Fernando Quiroz
10:16
created

Ocurrence::itemClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
namespace Chamilo\PluginBundle\Zoom\API;
6
7
use Exception;
8
9
class Ocurrence
10
{
11
    use JsonDeserializableTrait;
12
13
    public $occurrence_id;
14
    public $start_time;
15
    public $duration;
16
    public $status;
17
18
    public function itemClass($propertyName)
19
    {
20
        throw new Exception("No such array property $propertyName");
21
    }
22
}
23