SummaryStep   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A summary() 0 4 1
1
<?php
2
/**
3
 * SummaryStep.php
4
 *
5
 * @author Bram de Leeuw
6
 * Date: 29/03/17
7
 */
8
9
10
namespace Broarm\EventTickets;
11
12
use CalendarEvent_Controller;
13
use Extension;
14
15
/**
16
 * Class SummaryStep
17
 * 
18
 * @property TicketControllerExtension|TicketExtension|CalendarEvent_Controller $owner
19
 */
20
class SummaryStep extends Extension
21
{
22
    private static $allowed_actions = array(
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
23
        'summary'
24
    );
25
26
    /**
27
     * Continue to the summary step
28
     *
29
     * @return SummaryController
30
     */
31
    public function summary()
32
    {
33
        return new SummaryController($this->owner->dataRecord);
34
    }
35
}
36