SettingsWereSaved::getBuilder()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php namespace Anomaly\SettingsModule\Setting\Event;
2
3
use Anomaly\SettingsModule\Setting\Form\SettingFormBuilder;
4
5
/**
6
 * Class SettingsWereSaved
7
 *
8
 * @link          http://pyrocms.com/
9
 * @author        PyroCMS, Inc. <[email protected]>
10
 * @author        Ryan Thompson <[email protected]>
11
 */
12
class SettingsWereSaved
13
{
14
15
    /**
16
     * The form builder.
17
     *
18
     * @var SettingFormBuilder
19
     */
20
    protected $builder;
21
22
    /**
23
     * Create a new SettingsWereSaved instance.
24
     *
25
     * @param SettingFormBuilder $builder
26
     */
27
    public function __construct(SettingFormBuilder $builder)
28
    {
29
        $this->builder = $builder;
30
    }
31
32
    /**
33
     * Get the builder.
34
     *
35
     * @return SettingFormBuilder
36
     */
37
    public function getBuilder()
38
    {
39
        return $this->builder;
40
    }
41
}
42