Completed
Pull Request — master (#75)
by
unknown
07:18
created

ScriptSettingsFactory::createContent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace eXpansion\Bundle\Menu\Plugins\Gui;
4
5
use eXpansion\Framework\Core\Model\Gui\ManialinkInterface;
6
use eXpansion\Framework\Core\Model\Gui\Widget;
7
use eXpansion\Framework\Core\Plugins\Gui\WidgetFactory;
8
use FML\Controls\Label;
9
use FML\Controls\Quad;
10
11
class ScriptSettingsFactory extends WidgetFactory
12
{
13
14
15
    /**
16
     * @param ManialinkInterface|Widget $manialink
17
     */
18
    protected function createContent(ManialinkInterface $manialink)
19
    {
20
        $label = new Label("test");
21
        $manialink->addChild($label);
22
    }
23
24
25
}
26