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

GatherNavigation::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php namespace Anomaly\Streams\Platform\Ui\ControlPanel\Component\Navigation\Event;
2
3
use Anomaly\Streams\Platform\Ui\ControlPanel\ControlPanelBuilder;
4
5
/**
6
 * Class GatherNavigation
7
 *
8
 * @link   http://pyrocms.com/
9
 * @author PyroCMS, Inc. <[email protected]>
10
 * @author Ryan Thompson <[email protected]>
11
 */
12
class GatherNavigation
13
{
14
15
    /**
16
     * The control panel builder.
17
     *
18
     * @var ControlPanelBuilder
19
     */
20
    protected $builder;
21
22
    /**
23
     * Create a new GatherNavigation 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