| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 17 | public function boot() |
||
| 18 | { |
||
| 19 | /** @var Repository $factory */ |
||
| 20 | $factory = $this->app['widgets']; |
||
| 21 | $factory->register('menu', 'Menu Widget', Menu::class, [ |
||
| 22 | 'widgets.menu.bootstrap' => 'Bootstrap Menu (widgets.menu.bootstrap)', |
||
| 23 | 'custom' => 'Custom Template', |
||
| 24 | ])->register('wysiwyg', 'WYSIWYG', Wysiwyg::class, [ |
||
| 25 | 'widgets.wysiwyg.default' => 'Default Bootstrap Panel (widgets.wysiwyg.default)', |
||
| 26 | 'widgets.wysiwyg.raw' => 'Plain Body Contents (widgets.wysiwyg.raw)', |
||
| 27 | 'custom' => 'Custom Template', |
||
| 28 | ]); |
||
| 29 | } |
||
| 30 | |||
| 53 |