| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | trait LogoutControllerTrait |
||
| 12 | { |
||
| 13 | use AbstractControllerTrait; |
||
| 14 | |||
| 15 | public function index() |
||
| 16 | { |
||
| 17 | $this->_getUser()->deauthenticate(); |
||
|
|
|||
| 18 | $this->doSuccessRedirect(); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return string|null |
||
| 23 | */ |
||
| 24 | protected function getGenericRedirectURL() |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritdoc |
||
| 32 | */ |
||
| 33 | protected function generateModelName() |
||
| 36 | } |
||
| 37 | } |
||
| 38 |