Prototype emulator for Yii2 component