Yii2 MongoDB Helper Classes