GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

ConfigurationBuilder::setOverwrite()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 3
cts 3
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Petkopara\CrudGeneratorBundle\Configuration;
4
5
/**
6
 * Description of ConfigurationBuilder
7
 *
8
 * @author Petko Petkov <[email protected]>
9
 */
10
class ConfigurationBuilder implements ConfigurationBuilderInterface
11
{
12
    /*
13
     * @var Configuration configuration
14
     */
15
16
    private $configuration;
17
18 15
    public function __construct()
19
    {
20 15
        $this->configuration = new Configuration();
21 15
    }
22
23
    /**
24
     * 
25
     * @param type $baseTemplate
26
     * @return ConfigurationBuilder
27
     */
28 15
    public function setBaseTemplate($baseTemplate)
29
    {
30 15
        $this->configuration->setBaseTemplate($baseTemplate);
31 15
        return $this;
32
    }
33
34
    /**
35
     * 
36
     * @param type $bundleViews
37
     * @return $this
38
     */
39 15
    public function setBundleViews($bundleViews)
40
    {
41 15
        $this->configuration->setBundleViews($bundleViews);
42 15
        return $this;
43
    }
44
45
    /**
46
     * 
47
     * @param type $filterType
48
     * @return $this
49
     */
50 15
    public function setFilterType($filterType)
51
    {
52 15
        $this->configuration->setFilterType($filterType);
53 15
        return $this;
54
    }
55
56
    /**
57
     * 
58
     * @param type $withoutBulk
59
     * @return $this
60
     */
61 15
    public function setWithoutBulk($withoutBulk)
62
    {
63 15
        $this->configuration->setWithoutBulk($withoutBulk);
64 15
        return $this;
65
    }
66
67
    /**
68
     * 
69
     * @param type $withoutShow
70
     * @return $this
71
     */
72 15
    public function setWithoutShow($withoutShow)
73
    {
74 15
        $this->configuration->setWithoutShow($withoutShow);
75 15
        return $this;
76
    }
77
78
    /**
79
     * 
80
     * @param type $withoutWrite
81
     * @return $this
82
     */
83 15
    public function setWithoutWrite($withoutWrite)
84
    {
85 15
        $this->configuration->setWithoutWrite($withoutWrite);
86 15
        return $this;
87
    }
88
89 15
    public function setFormat($format)
90
    {
91 15
        $this->configuration->setFormat($format);
92 15
        return $this;
93
    }
94
95 15
    public function setOverwrite($overwrite)
96
    {
97 15
        $this->configuration->setOverwrite($overwrite);
98 15
        return $this;
99
    }
100
101 15
    public function setRoutePrefix($routePrefix)
102
    {
103 15
        $this->configuration->setRoutePrefix($routePrefix);
104 15
        return $this;
105
    }
106
107 15
    public function setWithoutPageSize($withoutPageSize)
108
    {
109 15
        $this->configuration->setWithoutPageSize($withoutPageSize);
110 15
        return $this;
111
    }
112
113 15
    public function setWithoutSorting($withoutSorting)
114
    {
115 15
        $this->configuration->setWithoutSorting($withoutSorting);
116 15
        return $this;
117
    }
118
119
    /**
120
     * 
121
     * @return Configuration 
122
     */
123 15
    public function getConfiguration()
124
    {
125 15
        return $this->configuration;
126
    }
127
128
}
129