yii2-user icon indicating copy to clipboard operation
yii2-user copied to clipboard

Make UserModel extendable

Open nilsenpaul opened this issue 7 years ago • 0 comments
trafficstars

I would like to be able to extend the UserModel, in such a way that I could, for instance, let the last_login column be of type DateTime. The only thing is, that the plugin's commands use a fixed reference to yii2mod\user\models\UserModel.

If the plugin itself would have a way of configuring the model to use, then all commands would use that model. Is this something that you would be willing to pull into the code?

nilsenpaul avatar Feb 26 '18 19:02 nilsenpaul