Completed
Push — develop ( 5ca96d...d54e0b )
by Nate
07:04
created

TimelineEventBatchMutator   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 18
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPayload() 0 4 1
1
<?php
2
3
/**
4
 * @copyright  Copyright (c) Flipbox Digital Limited
5
 * @license    https://flipboxfactory.com/software/hubspot/license
6
 * @link       https://www.flipboxfactory.com/software/hubspot/
7
 */
8
9
namespace flipbox\hubspot\criteria;
10
11
use yii\base\BaseObject;
12
13
/**
14
 * @author Flipbox Factory <[email protected]>
15
 * @since 1.0.0
16
 */
17
class TimelineEventBatchMutator extends BaseObject implements TimelineEventBatchMutatorInterface
18
{
19
    use traits\TransformerCollectionTrait,
20
        traits\IntegrationConnectionTrait;
21
22
    /**
23
     * @var array|null
24
     */
25
    public $payload;
26
27
    /**
28
     * @return array
29
     */
30
    public function getPayload(): array
31
    {
32
        return (array)$this->payload;
33
    }
34
}
35