AbstractPutEntryPoint   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
/**
3
 * ©[2016] SugarCRM Inc.  Licensed by SugarCRM under the Apache 2.0 license.
4
 */
5
6
namespace SugarAPI\SDK\EntryPoint\Abstracts\PUT;
7
8
use SugarAPI\SDK\EntryPoint\Abstracts\AbstractEntryPoint;
9
use SugarAPI\SDK\Request\PUT;
10
use SugarAPI\SDK\Response\JSON;
11
12
abstract class AbstractPutEntryPoint extends AbstractEntryPoint {
13
14 1
    public function __construct($url, array $options = array()) {
15 1
        $this->setRequest(new PUT());
16 1
        $this->setResponse(new JSON($this->Request->getCurlObject()));
17 1
        parent::__construct($url, $options);
18 1
    }
19
20
}