PreferenceFormBuilder
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 0
lcom 0
cbo 0
dl 0
loc 35
c 2
b 0
f 0
1
<?php namespace Anomaly\PreferencesModule\Preference\Form;
2
3
use Anomaly\Streams\Platform\Ui\Form\FormBuilder;
4
5
/**
6
 * Class PreferenceFormBuilder
7
 *
8
 * @link          http://pyrocms.com/
9
 * @author        PyroCMS, Inc. <[email protected]>
10
 * @author        Ryan Thompson <[email protected]>
11
 */
12
class PreferenceFormBuilder extends FormBuilder
13
{
14
15
    /**
16
     * No model needed.
17
     *
18
     * @var bool
19
     */
20
    protected $model = false;
21
22
    /**
23
     * The form fields handler.
24
     *
25
     * @var string
26
     */
27
    protected $fields = PreferenceFormFields::class;
28
29
    /**
30
     * The form actions.
31
     *
32
     * @var array
33
     */
34
    protected $actions = [
35
        'update',
36
    ];
37
38
    /**
39
     * The form options.
40
     *
41
     * @var array
42
     */
43
    protected $options = [
44
        'breadcrumb' => false,
45
    ];
46
}
47