| Conditions | 5 |
| Paths | 9 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 42 | public function onKernelRequest(GetResponseEvent $event) |
||
| 43 | { |
||
| 44 | if (!$event->isMasterRequest()) { |
||
| 45 | return; |
||
| 46 | } |
||
| 47 | |||
| 48 | $profileCookie = $this->profileCookie->getValue() ? $this->profileCookie->getValue() : []; |
||
| 49 | $expCookie = $this->experimentCookie->getValue() ? $this->experimentCookie->getValue() : []; |
||
| 50 | |||
| 51 | $profiles = array_merge($profileCookie, $expCookie); |
||
| 52 | |||
| 53 | if (is_array($profiles)) { |
||
| 54 | $this->settingsManager->appendActiveProfilesList($profiles); |
||
| 55 | } |
||
| 56 | } |
||
| 57 | } |
||
| 58 |