Completed
Push — develop ( 639fa1...b48ec5 )
by Nate
02:32
created

CompanyContactsBuilder   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 2
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 2
cbo 1
dl 0
loc 28
c 0
b 0
f 0
ccs 0
cts 8
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCompanyId() 0 4 1
A getContactId() 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 CompanyContactsBuilder extends BaseObject implements CompanyContactsBuilderInterface
18
{
19
    /**
20
     * @var string
21
     */
22
    public $companyId;
23
24
    /**
25
     * @var string
26
     */
27
    public $contactId;
28
29
    /**
30
     * @return string
31
     */
32
    public function getCompanyId(): string
33
    {
34
        return (string)$this->companyId;
35
    }
36
37
    /**
38
     * @return string
39
     */
40
    public function getContactId(): string
41
    {
42
        return (string)$this->contactId;
43
    }
44
}
45