| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Anomaly\Streams\Platform\Stream\Command; |
||
| 42 | public function handle(AddonCollection $addons, Repository $repository) |
||
| 43 | { |
||
| 44 | $slug = $this->stream->getSlug(); |
||
| 45 | $namespace = $this->stream->getNamespace(); |
||
| 46 | |||
| 47 | foreach ($addons->withConfig("streams.{$namespace}.{$slug}") as $config) { |
||
| 48 | $this->stream->mergeConfig($config); |
||
| 49 | } |
||
| 50 | |||
| 51 | $this->stream->mergeConfig($repository->get("streams::streams.{$namespace}.{$slug}", [])); |
||
| 52 | } |
||
| 53 | } |
||
| 54 |