simpler implementation of the handler property in yii\web\Session