| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function indexAction() |
||
| 30 | { |
||
| 31 | $user = $this->serviceLocator->get('AuthenticationService')->getUser(); |
||
| 32 | |||
| 33 | if ($this->params()->fromPost('confirm')) |
||
| 34 | { |
||
| 35 | $this->dependencies->removeItems($user); |
||
| 36 | } |
||
| 37 | |||
| 38 | return [ |
||
| 39 | 'lists' => $this->dependencies->getLists(), |
||
| 40 | 'user' => $user, |
||
| 41 | 'router' => $this->getEvent()->getRouter() |
||
| 42 | ]; |
||
| 43 | } |
||
| 44 | } |
||
| 45 |