Webhook::isActive()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Trello\Model;
4
5
/**
6
 * @codeCoverageIgnore
7
 */
8
class Webhook extends AbstractObject implements WebhookInterface
9
{
10
    protected $apiName = 'webhook';
11
12
    /**
13
     * {@inheritdoc}
14
     */
15
    public function getDescription()
16
    {
17
        return $this->data['description'];
18
    }
19
20
    /**
21
     * {@inheritdoc}
22
     */
23
    public function getModelId()
24
    {
25
        return $this->data['idModel'];
26
    }
27
28
    /**
29
     * {@inheritdoc}
30
     */
31
    public function getCallbackURL()
32
    {
33
        return $this->data['callbackURL'];
34
    }
35
36
    /**
37
     * {@inheritdoc}
38
     */
39
    public function isActive()
40
    {
41
        return $this->data['active'];
42
    }
43
}
44