MultiFormTestStepThree   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFields() 0 6 1
1
<?php
2
3
namespace SilverStripe\MultiForm\Tests\Stubs;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\Forms\FieldList;
7
use SilverStripe\Forms\TextField;
8
use SilverStripe\MultiForm\Models\MultiFormStep;
9
10
class MultiFormTestStepThree extends MultiFormStep implements TestOnly
11
{
12
    private static $is_final_step = true;
13
14
    public function getFields()
15
    {
16
        return FieldList::create(
17
            new TextField('Test', 'Anything else you\'d like to tell us?')
18
        );
19
    }
20
}
21