| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | public function __construct($id, $parent = null, array $config = []) |
||
| 34 | { |
||
| 35 | // Merge in the passed config, so it our config can be overridden by Plugins::pluginConfigs['vite'] |
||
| 36 | // ref: https://github.com/craftcms/cms/issues/1989 |
||
| 37 | $config = ArrayHelper::merge([ |
||
| 38 | 'components' => [ |
||
| 39 | 'profile' => ProfileService::class, |
||
| 40 | ], |
||
| 41 | ], $config); |
||
| 42 | |||
| 43 | parent::__construct($id, $parent, $config); |
||
| 44 | } |
||
| 57 |