Completed
Push — master ( a0253d...70910a )
by Ryan
12:32 queued 06:51
created

SortNavigation   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getBuilder() 0 4 1
1
<?php namespace Anomaly\Streams\Platform\Ui\ControlPanel\Component\Navigation\Event;
2
3
use Anomaly\Streams\Platform\Ui\ControlPanel\ControlPanelBuilder;
4
5
/**
6
 * Class SortNavigation
7
 *
8
 * @link   http://pyrocms.com/
9
 * @author PyroCMS, Inc. <[email protected]>
10
 * @author Ryan Thompson <[email protected]>
11
 */
12
class SortNavigation
13
{
14
15
    /**
16
     * The control panel builder.
17
     *
18
     * @var ControlPanelBuilder
19
     */
20
    protected $builder;
21
22
    /**
23
     * Create a new SortNavigation instance.
24
     *
25
     * @param ControlPanelBuilder $builder
26
     */
27
    public function __construct(ControlPanelBuilder $builder)
28
    {
29
        $this->builder = $builder;
30
    }
31
32
    /**
33
     * Get the control panel builder.
34
     *
35
     * @return ControlPanelBuilder
36
     */
37
    public function getBuilder()
38
    {
39
        return $this->builder;
40
    }
41
}
42