afterLogout() protected method
This method is invoked right after a user is logged out via logout().
The default implementation will trigger the EVENT_AFTER_LOGOUT event. If you override this method, make sure you call the parent implementation so that the event is triggered.
protected void afterLogout ( $identity ) | ||
---|---|---|
$identity | yii\web\IdentityInterface |
The user identity information |
Please login to continue.