I am using laravel spatie activity log package which is awesome. We can set logAttributes like this
protected static $logAttributes = ['name', 'age', 'birth', 'email'];
Is there any way to use logAttributes as aliases?
So if it will be worked like this, it would be perfect.
protected static $logAttributes = ['name as Name', 'age as Age', 'birth as Birthday', 'email as Email Address'];
Is there any better solution or alternative way?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire