Completed
Push — master ( f8e0b8...f3882c )
by Ryan
02:52
created

SettingsWereSaved::getBuilder()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 4
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
 * @package       Anomaly\SettingsModule\Setting\Event
12
 */
13
class SettingsWereSaved
14
{
15
16
    /**
17
     * The form builder.
18
     *
19
     * @var SettingFormBuilder
20
     */
21
    protected $builder;
22
23
    /**
24
     * Create a new SettingsWereSaved instance.
25
     *
26
     * @param SettingFormBuilder $builder
27
     */
28
    public function __construct(SettingFormBuilder $builder)
29
    {
30
        $this->builder = $builder;
31
    }
32
33
    /**
34
     * Get the builder.
35
     *
36
     * @return SettingFormBuilder
37
     */
38
    public function getBuilder()
39
    {
40
        return $this->builder;
41
    }
42
}
43