Completed
Push — develop ( de31bd...3158f9 )
by Nate
20:35
created

CompanyContactsMutator   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 2
Dependencies 4

Test Coverage

Coverage 0%

Importance

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

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\criteria;
10
11
use yii\base\BaseObject;
12
13
/**
14
 * @author Flipbox Factory <[email protected]>
15
 * @since 1.0.0
16
 */
17
class CompanyContactsMutator extends BaseObject implements CompanyContactsMutatorInterface
18
{
19
    use traits\TransformerCollectionTrait,
20
        traits\ConnectionTrait,
21
        traits\CacheTrait;
22
23
    /**
24
     * @var string
25
     */
26
    public $companyId;
27
28
    /**
29
     * @var string
30
     */
31
    public $contactId;
32
33
    /**
34
     * @return string
35
     */
36
    public function getCompanyId(): string
37
    {
38
        return (string)$this->companyId;
39
    }
40
41
    /**
42
     * @return string
43
     */
44
    public function getContactId(): string
45
    {
46
        return (string)$this->contactId;
47
    }
48
}
49