Completed
Push — master ( 719266...e4b221 )
by Nate
06:18 queued 04:34
created

PerformItemAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A fieldService() 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\cp\actions\fields;
10
11
use flipbox\craft\integration\actions\fields\PerformItemAction as PerformItemActionIntegration;
12
use flipbox\craft\integration\services\IntegrationField;
13
use flipbox\hubspot\HubSpot;
14
use flipbox\hubspot\services\ObjectsField;
15
16
/**
17
 * Performs an action on an individual field row
18
 *
19
 * @author Flipbox Factory <[email protected]>
20
 * @since 1.0.0
21
 */
22
class PerformItemAction extends PerformItemActionIntegration
23
{
24
    /**
25
     * @inheritdoc
26
     * @return ObjectsField
27
     */
28
    protected function fieldService(): IntegrationField
29
    {
30
        return HubSpot::getInstance()->getObjectsField();
31
    }
32
}
33