Completed
Push — master ( 9a3118...4c04b8 )
by Nate
03:50
created

AbstractCompany   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
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 19
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A assemblePath() 0 4 1
1
<?php
2
3
namespace Flipbox\Relay\HubSpot\Middleware\Companies;
4
5
use Flipbox\Relay\HubSpot\Middleware\AbstractMiddleware;
6
use Flipbox\Relay\HubSpot\Middleware\V2Trait;
7
8
abstract class AbstractCompany extends AbstractMiddleware
9
{
10
11
    use V2Trait;
12
13
    /**
14
     * The resource name
15
     */
16
    const RESOURCE = 'contacts';
17
18
    /**
19
     * @param string $path
20
     * @return string
21
     */
22
    protected function assemblePath(string $path): string
23
    {
24
        return $this->assembleVersionPath(static::RESOURCE, $path);
25
    }
26
}
27