Config   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 33
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCurlVerbose() 0 4 1
A setCurlVerbose() 0 6 1
1
<?php
2
3
namespace Escopecz\MauticFormSubmit\Mautic;
4
5
/**
6
 * Configuration object for Mautic form submission.
7
 */
8
class Config
9
{
10
    /**
11
     * Curl verbose logging option
12
     *
13
     * @var bool
14
     */
15
    protected $curlVerbose = true;
16
17
    /**
18
     * Returns Curl verbose logging option
19
     *
20
     * @return bool
21
     */
22
    public function getCurlVerbose()
23
    {
24
        return $this->curlVerbose;
25
    }
26
    
27
    /**
28
     * Set Curl verbose logging option
29
     *
30
     * @param bool $curlVerbose
31
     *
32
     * @return Config
33
     */
34
    public function setCurlVerbose($curlVerbose)
35
    {
36
        $this->curlVerbose = $curlVerbose;
37
38
        return $this;
39
    }
40
}
41