Enumeration extension for Yii2