also 3 constants above must be public properties. Please also note this one https://github.com/yiisoft/yii2/issues/205