Completed
Push — master ( d7cd82...c94b19 )
by Mikołaj
04:50
created

TypeEditView::display()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 9
rs 9.9666
c 0
b 0
f 0
1
<?php
2
3
namespace Rudolf\Modules\Appearance\Menu\Type;
4
5
use Rudolf\Framework\View\AdminView;
6
7
class TypeEditView extends AdminView
8
{
9
    /**
10
     * @var MenuType
11
     */
12
    protected $item;
13
14
    public function display(MenuType $item)
15
    {
16
        $this->pageTitle = _('Menu editor');
17
        $this->head->setTitle($this->pageTitle);
18
        $this->item = $item;
19
20
        $this->templateType = 'edit';
21
        $this->template = 'appearance-menu-type';
22
    }
23
}
24