| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | 7 | public function __construct(Container $container) |
|
| 19 | { |
||
| 20 | 7 | parent::__construct($container); |
|
| 21 | |||
| 22 | 7 | $this->parameters['builder'] = $this->app->make(Builder::class, [ |
|
| 23 | 7 | 'container' => $this->app, |
|
| 24 | 7 | 'name' => 'submenu-' . spl_object_hash($this), |
|
| 25 | 7 | 'activeAttributes' => $this->app->make(Attributes::class, ['attributes' => []]), |
|
| 26 | 7 | 'attributes' => $this->app->make(Attributes::class, ['attributes' => []]), |
|
| 27 | ]); |
||
| 28 | 7 | $this->parameters['view'] = $this->getElementConfig(SubMenu::class)['view']; |
|
| 29 | 7 | } |
|
| 30 | |||
| 42 | } |