Completed
Push — master ( d5a3eb...e78df8 )
by Nate
10:09 queued 08:05
created

ContactBatchBuilder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 15
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\builders;
10
11
use yii\base\BaseObject;
12
13
/**
14
 * @author Flipbox Factory <[email protected]>
15
 * @since 1.0.0
16
 */
17
class ContactBatchBuilder extends BaseObject implements ContactBatchBuilderInterface
18
{
19
    /**
20
     * @var array|null
21
     */
22
    public $payload;
23
24
    /**
25
     * @return array
26
     */
27
    public function getPayload(): array
28
    {
29
        return (array)$this->payload;
30
    }
31
}
32