The default implementation will trigger the [[EVENT_BEFORE_LOGOUT]] event.
If you override this method, make sure you call the parent implementation
so that the event is triggered.
protected beforeLogout ( yii\web\IdentityInterface $identity ) : boolean | ||
$identity | yii\web\IdentityInterface | the user identity information |
return | boolean | whether the user should continue to be logged out |